Browse Source

Merge pull request #164 from tumido/add-android-messages

Fix the unread counter for muted conversations
pull/3202/head
TheGoddessInari 5 years ago committed by GitHub
parent
commit
b808b2c392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/store/ServicesList.js

2
app/store/ServicesList.js

@ -883,7 +883,7 @@ Ext.define('Hamsket.store.ServicesList', {
,description: 'Text on your computer with Messages for web.'
,url: 'https://messages.google.com/web'
,type: 'messaging'
,js_unread: `let checkUnread=()=>{hamsket.updateBadge(Array.prototype.slice.apply(document.querySelectorAll(".text-content.unread")).reduce((c,b) => b.querySelector(".notifications-off")||1,0))};setInterval(checkUnread,3e3);`
,js_unread: `let checkUnread=()=>{hamsket.updateBadge(Array.prototype.slice.apply(document.querySelectorAll(".text-content.unread")).reduce((c,b) => !b.querySelector(".notifications-off")+c,0))};setInterval(checkUnread,3e3);`
}
]
});

Loading…
Cancel
Save