Use welshman kinds

This commit is contained in:
Jon Staab
2026-04-16 11:30:59 -07:00
parent 7a7af58f5c
commit e1a7b051bd
19 changed files with 163 additions and 214 deletions
+2 -2
View File
@@ -1,7 +1,6 @@
import {page} from "$app/stores"
import type {Unsubscriber} from "svelte/store"
import {last, call, assoc, chunk, WEEK, ago} from "@welshman/lib"
import {PollResponse} from "nostr-tools/kinds"
import {merged} from "@welshman/store"
import {
getListTags,
@@ -20,6 +19,7 @@ import {
RELAY_ADD_MEMBER,
RELAY_REMOVE_MEMBER,
MESSAGE,
POLL_RESPONSE,
isSignedEvent,
unionFilters,
} from "@welshman/util"
@@ -280,7 +280,7 @@ const syncSpace = (url: string) => {
filters: [
{kinds: [...relayKinds, ...roomMetaKinds, ...roomDeleteKinds, ...CONTENT_KINDS, MESSAGE]},
makeCommentFilter(CONTENT_KINDS, {since}),
{kinds: [...REACTION_KINDS, PollResponse], since},
{kinds: [...REACTION_KINDS, POLL_RESPONSE], since},
],
})