damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit efba59977981a0fd07ca773d75edcbb79e196a7d
parent 19243d49e1884e24ee62feab0e8346a640f1e769
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 13 Dec 2024 20:01:33 -0800

nostrdb: ids: fix typo in ndb_query_plan_execute_ids

We should be specifying that we've matched the id here, not authors. Not
that this would have any effect.. but still.

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mnostrdb/src/nostrdb.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c @@ -3079,7 +3079,7 @@ static int ndb_query_plan_execute_ids(struct ndb_txn *txn, note_id = *(uint64_t*)v.mv_data; if (memcmp(id, ptsid->id, 32) == 0) - matched |= 1 << NDB_FILTER_AUTHORS; + matched |= 1 << NDB_FILTER_IDS; else continue;