From 0da6a1b0cad851d3e69c9639c35a8fac1bfd3b95 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Wed, 17 Oct 2018 17:55:01 -0300 Subject: [PATCH] Fixed Riot unread counter Fixes #1892 --- app/store/ServicesList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index f249d86f..92953c10 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -579,7 +579,7 @@ Ext.define('Rambox.store.ServicesList', { ,description: 'Riot is a simple and elegant collaboration environment that gathers all of your different conversations and app integrations into one single app.' ,url: 'https://riot.im/app/' ,type: 'messaging' - ,js_unread: 'function checkUnread(){var a=document.getElementsByClassName("mx_RoomTile_nameContainer"),b=0;for(i=0;i=1?document.title="("+a+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,1e3);' + ,js_unread: 'function checkUnread(){var a=document.getElementsByClassName("mx_RoomTile_nameContainer"),b=0;for(i=0;i=1?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' ,custom_domain: true }, {