mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Connect to multiple Nostr relays. Sync NIP-65 relay list
This commit is contained in:
20 files changed
+468
-254
No files matched your search
@@ -708,7 +708,10 @@ export function PullRequestDialog({
|
||||
console.log(`Repository announcement query returned ${repoEvents.length} events`);
|
||||
|
||||
let earliestUniqueCommit: string | null = null;
|
||||
let publishRelays = [config.relayUrl]; // Use configured relay
|
||||
const writeRelays = config.relayMetadata.relays
|
||||
.filter(r => r.write)
|
||||
.map(r => r.url);
|
||||
let publishRelays = writeRelays.length > 0 ? writeRelays : ['wss://relay.nostr.band']; // Use write relays
|
||||
|
||||
if (repoEvents.length > 0) {
|
||||
const repoEvent = repoEvents[0];
|
||||
|
||||
Reference in new issue
Block a user