oops
This commit is contained in:
@@ -171,9 +171,9 @@ export function useNotificationsHandler() {
|
|||||||
) {
|
) {
|
||||||
const isCurrentConvo = payload.convoId === currentConvoId
|
const isCurrentConvo = payload.convoId === currentConvoId
|
||||||
return {
|
return {
|
||||||
shouldShowAlert: isCurrentConvo,
|
shouldShowAlert: !isCurrentConvo,
|
||||||
shouldPlaySound: false,
|
shouldPlaySound: false,
|
||||||
shouldSetBadge: isCurrentConvo,
|
shouldSetBadge: !isCurrentConvo,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user