Disable badge incrementing for DMs (#4088)
* disable badge increments for dms * revert decrementing in js for dms * reset badge on read notifications * remove some other code * prevent duplicate notification events
This commit is contained in:
@@ -119,7 +119,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
|
||||
// update & broadcast
|
||||
setNumUnread('')
|
||||
broadcast.postMessage({event: ''})
|
||||
decrementBadgeCount(Math.min(cacheRef.current.unreadCount, 30))
|
||||
decrementBadgeCount('reset')
|
||||
},
|
||||
|
||||
async checkUnread({
|
||||
|
||||
Reference in New Issue
Block a user