Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Fix gitter notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGoddessInari committed Sep 15, 2019
1 parent 3b296d0 commit e630f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/store/ServicesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Ext.define('Rambox.store.ServicesList', {
,description: locale['services[14]']
,url: 'https://gitter.im/'
,type: 'messaging'
,js_unread: `let checkUnread=()=>{const e=document.getElementsByClassName("room-item__unread-indicator");let t=0;for(let i of e){const iTrim=parseInt(i.innerHTML.trim());t+=isNaN(iTrim)?0:parseInt(iTrim)}rambox.updateBadge(t)};setInterval(checkUnread,3e3);`
,js_unread: `let checkUnread=()=>{const e=document.getElementsByClassName("unread-indicator");let c=0;for(let i of e)c+=parseInt(i.innerHTML.trim(),10)||0;rambox.updateBadge(c)};setInterval(checkUnread,3e3);`
},
{
id: 'steam'
Expand Down

0 comments on commit e630f2a

Please sign in to comment.