This commit is contained in:
Hailey
2024-05-16 12:02:49 -07:00
parent 288279b79d
commit 254da26bef
+2 -2
View File
@@ -171,9 +171,9 @@ export function useNotificationsHandler() {
) {
const isCurrentConvo = payload.convoId === currentConvoId
return {
shouldShowAlert: isCurrentConvo,
shouldShowAlert: !isCurrentConvo,
shouldPlaySound: false,
shouldSetBadge: isCurrentConvo,
shouldSetBadge: !isCurrentConvo,
}
}