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?

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.

2 participants