Skip to content

Conversation

slingamn
Copy link
Contributor

Clarify CHATHISTORY TARGETS semantics as follows:

The parameters have the same semantics as BETWEEN, except that they MUST be timestamps and not msgids, and they match against the latest message stored for the target (i.e. a target is not returned if its latest message is outside of the selection parameters, even if it has other messages inside them).

This appears to be a source of confusion, which is understandable because the previous text was ambiguous. However, the emendation here was always the intent (otherwise the selectors could not be used effectively for pagination).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants