Merge branch 'hailey/decrement-badge-on-open-chat' into hailey/proper-badge-count
This commit is contained in:
@@ -171,9 +171,9 @@ export function useNotificationsHandler() {
|
||||
) {
|
||||
const isCurrentConvo = payload.convoId === currentConvoId
|
||||
return {
|
||||
shouldShowAlert: isCurrentConvo,
|
||||
shouldShowAlert: !isCurrentConvo,
|
||||
shouldPlaySound: false,
|
||||
shouldSetBadge: isCurrentConvo,
|
||||
shouldSetBadge: !isCurrentConvo,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user