diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index 134aa84c..eff20ee3 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -182,7 +182,7 @@ Ext.define('Rambox.store.ServicesList', { ,url: 'https://discordapp.com/login' ,type: 'messaging' ,titleBlink: true - ,js_unread: 'function getAlertCount(e){for(var t=0,a=0;ae+(r&&r.querySelector("[class*=avatar]")&&r.querySelector("[class*=wrapper][class*=badge]")?parseInt(r.querySelector("[class*=wrapper][class*=badge]").innerHTML):0),0);rambox.setUnreadCount(r)}setInterval(checkUnread,3e3);' ,note: 'To enable desktop notifications, you have to go to Options inside Discord. Will count only unread DMs.' ,userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' },