Fix some notification related bugs

This commit is contained in:
Jon Staab
2026-02-02 14:29:12 -08:00
parent 75ec7688b1
commit 764719afde
5 changed files with 23 additions and 22 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ import {
getSpaceRoomsFromGroupList,
makeCommentFilter,
userSpaceUrls,
isMuted,
shouldNotify,
device,
} from "@app/core/state"
import {kv} from "@app/core/storage"
@@ -286,7 +286,7 @@ export const onNotification = call(() => {
const h = getTagValue("h", event.tags)
if (Array.from(tracker.getRelays(event.id)).every(url => isMuted(url, h))) {
if (Array.from(tracker.getRelays(event.id)).every(url => !shouldNotify(url, h))) {
continue
}