fix bug with relay list not refreshing

This commit is contained in:
hzrd149
2023-09-20 08:11:27 -05:00
parent 875614426e
commit b512e62fa4

View File

@@ -57,7 +57,9 @@ class ClientRelayService {
// load the relays from cache or bootstrap relays
this.log("Load users relays from cache or bootstrap relays");
lastSubject = userRelaysService.requestRelays(account.pubkey, Array.from(this.bootstrapRelays));
lastSubject = userRelaysService.requestRelays(account.pubkey, Array.from(this.bootstrapRelays), {
alwaysRequest: true,
});
setTimeout(() => {
// double check for new relay notes
this.log("Requesting latest relays from the write relays");