From 796b0d6544e2c00e12fe635672c397c20519c250 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Tue, 12 Jul 2016 17:19:33 -0300 Subject: [PATCH] Enable userAgent only for Skype Because Inbox by Gmail don't like it! --- app/ux/WebView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ux/WebView.js b/app/ux/WebView.js index e317220a..3a46c59b 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -40,7 +40,7 @@ Ext.define('Rambox.ux.WebView',{ ,allowtransparency: 'on' ,autosize: 'on' ,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: {