Releasing new design #161
@ -282,10 +282,9 @@ export class RelayController {
|
||||
}
|
||||
|
||||
// connect to all specified relays
|
||||
const relayPromises = relayUrls.map((relayUrl) => {
|
||||
console.log('being called from publish events')
|
||||
return this.connectRelay(relayUrl)
|
||||
})
|
||||
const relayPromises = relayUrls.map((relayUrl) =>
|
||||
this.connectRelay(relayUrl)
|
||||
)
|
||||
|
||||
// Use Promise.allSettled to wait for all promises to settle
|
||||
const results = await Promise.allSettled(relayPromises)
|
||||
|
Loading…
Reference in New Issue
Block a user