Skip to content

Commit

Permalink
fix tribe caht mute
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanfeenstra committed Jul 23, 2020
1 parent f7d7e53 commit 46e5ed3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const sendNotification = async (chat, name, type:NotificationType) => {
if(type==='message' && chat.type==constants.chat_types.tribe){
debounce(()=>{
const count = tribeCounts[chat.id]?tribeCounts[chat.id]+' ':''
params.notification.message = `You have ${count}new messages in ${chat.name}`
params.notification.message = chat.isMuted ? '' : `You have ${count}new messages in ${chat.name}`
finalNotification(owner.id, params)
}, chat.id, 30000)
} else {
Expand Down
2 changes: 1 addition & 1 deletion dist/api/hub.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/api/hub.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 46e5ed3

Please sign in to comment.