From 1d0961dfcc01c12fb3d0dc2a494147b16eb03971 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Thu, 19 Jan 2017 14:43:41 -0300 Subject: [PATCH] Unread code for Riot Fixes #502 --- app/store/ServicesList.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index e5051085..4a76745e 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -571,6 +571,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);' ,custom_domain: true }, {