Don't count muted convos in badge count by default
This commit is contained in:
parent
64c3a6eae0
commit
22ba54ce5c
14 changed files with 115 additions and 28 deletions
|
@ -3107,8 +3107,14 @@
|
|||
});
|
||||
},
|
||||
|
||||
isMuted() {
|
||||
return (
|
||||
this.get('muteExpiresAt') && Date.now() < this.get('muteExpiresAt')
|
||||
);
|
||||
},
|
||||
|
||||
async notify(message, reaction) {
|
||||
if (this.get('muteExpiresAt') && Date.now() < this.get('muteExpiresAt')) {
|
||||
if (this.isMuted()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue