*If we have no active gateways, try to refresh the list first
This commit is contained in:
parent
b70c77eeda
commit
564306bed2
|
@ -137,6 +137,9 @@ async function fetchFromRelays(
|
|||
stream = undefined
|
||||
) {
|
||||
let error = new Error("NOT_FOUND");
|
||||
if (0 == activeRelays.length) {
|
||||
await refreshGatewayList();
|
||||
}
|
||||
for (const relay of activeRelays) {
|
||||
let resp;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue