mirror of
https://github.com/block/buzz.git
synced 2026-10-28 04:51:40 +00:00
A REQ such as {kinds:[39000], #t:[<label>], limit:n} read the newest n
group-state events and matched tags afterwards, so it could return few or
no channels while older matches existed. For filters whose kinds are all
group-state kinds (39000-39003), #t and #P values now reach SQL as a
JSONB containment candidate filter. The NIP-01 post-filter still decides
each event, and COUNT keeps post-filtering because containment can
over-match.
Signed-off-by: Logan Johnson <loganj@squareup.com>
Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>