From aefcfa80fc28b48006eb85ba96daf342ae003476 Mon Sep 17 00:00:00 2001 From: mxb Date: Mon, 15 Apr 2019 12:53:27 +0200 Subject: [PATCH] Removed user agent --- app/store/ServicesList.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index 0c042464..9338a2b5 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -29,7 +29,6 @@ Ext.define('Rambox.store.ServicesList', { ,url: 'https://web.whatsapp.com/' ,type: 'messaging' ,js_unread: 'function checkUnread(){const elements = document.querySelectorAll(\'.CxUIE, .unread\');let count = 0;for (let i = 0; i < elements.length; i++) {if (elements[i].querySelectorAll(\'*[data-icon="muted"]\').length === 0) {count++;}}updateBadge(count);}function updateBadge(count){if(count && count>=1){rambox.setUnreadCount(count);}else{rambox.clearUnreadCount();}}setInterval(checkUnread, 1e3);(async()=>{try{const a=await window.navigator.serviceWorker.getRegistrations();for(const b of a)b.unregister()}catch(a){}})();' - ,userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36' }, { id: 'slack'