Handle broken supported_nips

This commit is contained in:
Jon Staab
2025-05-08 11:16:02 -07:00
parent 841928783b
commit 4d10fe7cc0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -485,7 +485,7 @@ export const messages = derived(
export const groupMeta = deriveEvents(repository, {filters: [{kinds: [GROUP_META]}]})
export const hasNip29 = (relay?: Relay) =>
relay?.profile?.supported_nips?.map(String)?.includes("29")
relay?.profile?.supported_nips?.map?.(String)?.includes?.("29")
// Channels