diff --git a/src/controllers/nostr/relay.ts b/src/controllers/nostr/relay.ts index 21e91fd..3a5a9aa 100644 --- a/src/controllers/nostr/relay.ts +++ b/src/controllers/nostr/relay.ts @@ -112,7 +112,7 @@ function prepareFilters(filters: ClientREQ[2][]): Filter[] { return filters.map((filter) => ({ ...filter, // Return only local events unless the query is already narrow. - local: !filter.ids?.length && !filter.authors?.length, + local: (filter.ids?.length || filter.authors?.length) ? undefined : true, })); }