Improve loading and notifications

This commit is contained in:
Jon Staab
2025-01-02 16:58:04 -08:00
parent f618e4e1f3
commit b6defe59a8
3 changed files with 20 additions and 7 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export const listenForNotifications = () => {
filters: [
{kinds: [THREAD], since: now()},
{kinds: [COMMENT], "#K": [String(THREAD)], since: now()},
{kinds: [MESSAGE], "#h": Array.from(rooms), since: now()},
...Array.from(rooms).map(room => ({kinds: [MESSAGE], "#h": [room], since: now()})),
],
}),
)