feat: publish favorite relays event to big relays

This commit is contained in:
codytseng
2025-04-05 19:42:54 +08:00
parent ffd22e27bc
commit 69209957e4

View File

@@ -454,7 +454,7 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
})
}
}
if (draftEvent.kind === kinds.RelayList) {
if ([kinds.RelayList, ExtendedKind.FAVORITE_RELAYS].includes(draftEvent.kind)) {
additionalRelayUrls.push(...BIG_RELAY_URLS)
}