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>
This commit is contained in:
committed by
Daniel D’Aquino
parent
19243d49e1
commit
efba599779
@@ -3079,7 +3079,7 @@ static int ndb_query_plan_execute_ids(struct ndb_txn *txn,
|
|||||||
note_id = *(uint64_t*)v.mv_data;
|
note_id = *(uint64_t*)v.mv_data;
|
||||||
|
|
||||||
if (memcmp(id, ptsid->id, 32) == 0)
|
if (memcmp(id, ptsid->id, 32) == 0)
|
||||||
matched |= 1 << NDB_FILTER_AUTHORS;
|
matched |= 1 << NDB_FILTER_IDS;
|
||||||
else
|
else
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user