feat: send relay list event to big relays

This commit is contained in:
codytseng
2025-03-22 15:40:37 +08:00
parent a726971324
commit 552089b15c

View File

@@ -403,6 +403,9 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
})
}
}
if (draftEvent.kind === kinds.RelayList) {
additionalRelayUrls.push(...BIG_RELAY_URLS)
}
const event = await signEvent(draftEvent)
const relays = specifiedRelayUrls?.length