From 35d2872751d7440e7ef27302aa6433f31038958d Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Tue, 4 Jul 2017 18:49:38 -0300 Subject: [PATCH] Fixed Hangouts constant notifications Fixes #904 --- 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 074776ee..915f6147 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -77,8 +77,8 @@ Ext.define('Rambox.store.ServicesList', { ,type: 'messaging' ,titleBlink: true ,manual_notifications: true + ,dont_update_unread_from_title: true ,js_unread: 'function checkUnread(){updateBadge(document.getElementById("hangout-landing-chat").lastChild.contentWindow.document.body.getElementsByClassName("ee").length)}function updateBadge(e){e>=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3000);' - //,js_unread: 'function checkUnread(){updateBadge(document.getElementById("hangout-landing-chat").lastChild.contentWindow.document.body.getElementsByClassName("ee").length)}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);' }, { id: 'hipchat'