Move nip29 check
This commit is contained in:
+4
-1
@@ -459,10 +459,13 @@ export const messages = derived(
|
||||
$events => $events.map(adaptLegacyMessage),
|
||||
)
|
||||
|
||||
// Group Meta
|
||||
// Nip29
|
||||
|
||||
export const groupMeta = deriveEvents(repository, {filters: [{kinds: [GROUP_META]}]})
|
||||
|
||||
export const hasNip29 = (relay?: Relay) =>
|
||||
relay?.profile?.supported_nips?.map(String)?.includes("29")
|
||||
|
||||
// Channels
|
||||
|
||||
export type ChannelMeta = {
|
||||
|
||||
Reference in New Issue
Block a user