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
The spec is ambiguous in respect of this question.
Presence messages are queued in a channel while in the ATTACHING state (and later retried following any suspend). If there is a presence update/enter already queued for a given clientId, and then there is a superseding update for the same clientId - are both supposed to be sent to Ably when the channel completes attachment, or is it acceptable only to send the later update (provided both callbacks get called)?
Both approaches appear to be acceptable in the current spec - so either we should state that explicitly, or require one behaviour or the other. FWIW ably-js sends all messages, avly-java discards superseded messages for a given clientId.
The text was updated successfully, but these errors were encountered:
The spec is ambiguous in respect of this question.
Presence messages are queued in a channel while in the
ATTACHING
state (and later retried following any suspend). If there is a presenceupdate
/enter
already queued for a givenclientId
, and then there is a superseding update for the sameclientId
- are both supposed to be sent to Ably when the channel completes attachment, or is it acceptable only to send the later update (provided both callbacks get called)?(Internal discussion: https://ably-real-time.slack.com/archives/CURL4U2FP/p1675263889316679.)
Both approaches appear to be acceptable in the current spec - so either we should state that explicitly, or require one behaviour or the other. FWIW ably-js sends all messages, avly-java discards superseded messages for a given
clientId
.The text was updated successfully, but these errors were encountered: