You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a CHATHISTORY (or TARGETS) response contains fewer messages than
the requested limit, attach the draft/chathistory-end tag to the BATCH
opener to signal end-of-pagination to the client.
- Register a MessageTagHandler for draft/chathistory-end in the
chathistory module, tied to the draft/chathistory capability so the
tag is only delivered to capable clients
- history_send_result() gains an end_of_pagination parameter; when true,
the tag is attached to the 'BATCH +ID chathistory' opener
- chathistory_targets() attaches the tag to the
'BATCH +ID draft/chathistory-targets' opener when the target count is
below the requested limit
- cmd_chathistory() counts logical head-messages in the result and sets
end_of_pagination when the count is below filter->limit
- Auto-playback callers (chanmodes/history.c, history.c) pass 0
0 commit comments