Browse Source

Enable userAgent only for Skype

Because Inbox by Gmail don't like it!
pull/116/head
Ramiro Saenz 9 years ago
parent
commit
796b0d6544
  1. 2
      app/ux/WebView.js

2
app/ux/WebView.js

@ -40,7 +40,7 @@ Ext.define('Rambox.ux.WebView',{
,allowtransparency: 'on' ,allowtransparency: 'on'
,autosize: 'on' ,autosize: 'on'
,blinkfeatures: 'ApplicationCache,GlobalCacheStorage' ,blinkfeatures: 'ApplicationCache,GlobalCacheStorage'
,useragent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586' // Used to enable video and audio calls in Skype ,useragent: me.type === 'skype' ? 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586' : '' // Used to enable video and audio calls in Skype
} }
}] }]
,tabConfig: { ,tabConfig: {

Loading…
Cancel
Save