no ids_only in negentropy msgs, GET in rsp to HAVE

This commit is contained in:
Martti Malmi
2024-01-31 13:53:53 +02:00
parent 579589f635
commit 0de93a0a53
4 changed files with 18 additions and 9 deletions

View File

@ -394,7 +394,7 @@ export class Query extends EventEmitter<QueryEvents> {
#sendQueryInternal(c: Connection, q: BuiltRawReqFilter) {
let filters = q.filters;
if (c.SupportsNip(Nips.GetMatchingEventIds)) {
if (c.supportsNip(Nips.GetMatchingEventIds)) {
filters = filters.map(f => ({ ...f, ids_only: true }));
}