Skip to content

only update attachSerial for non-resumed attaches#503

Open
SimonWoolf wants to merge 1 commit into
mainfrom
attachserial-update
Open

only update attachSerial for non-resumed attaches#503
SimonWoolf wants to merge 1 commit into
mainfrom
attachserial-update

Conversation

@SimonWoolf

Copy link
Copy Markdown
Member

Previously the spec said to update attachSerial whenever you get an ATTACHED.

This doesn't make sense. attachSerial is used for untilAttach history, which is used to get history that is contiguous to the stream of realtime messages. If you get an attached with resumed=true because of a brief disconnection, that didn't reset your period of message continuity, so it shouldn't change the point up to which untilAttach gives you history!

@paddybyers

Copy link
Copy Markdown
Member

@ttypic does this need a UTS update?

@ttypic ttypic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good! I created PR with UTS specs changes: #510 (need to work on the process for the next spec improvements)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants