fix: cache preload

feat: Fetch only newest relay list updates
This commit is contained in:
2023-05-25 10:31:47 +01:00
parent 2ccee7bd7c
commit 988416f353
13 changed files with 79 additions and 51 deletions

View File

@ -247,7 +247,7 @@ export class Query implements QueryBase {
return false;
}
if ((q.relays?.length ?? 0) === 0 && c.Ephemeral) {
this.#log("Cant send non-specific REQ to ephemeral connection");
this.#log("Cant send non-specific REQ to ephemeral connection %o", q.relays);
return false;
}
if (q.filters.some(a => a.search) && !c.SupportsNip(Nips.Search)) {