Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec is unclear whether send_join state response should be deduped #2464

Closed
neilalexander opened this issue Mar 19, 2020 · 1 comment · Fixed by #2575
Closed

Spec is unclear whether send_join state response should be deduped #2464

neilalexander opened this issue Mar 19, 2020 · 1 comment · Fixed by #2575
Assignees
Labels
clarification An area where the spec could do with being more explicit s2s Server-to-Server API (federation)

Comments

@neilalexander
Copy link
Contributor

The Federation API spec is unclear about whether a state key in the response to a PUT /_matrix/federation/v1/send_join/{roomId}/{eventId} can legally contain duplicate state-key tuples (for state resolution by the receiver), or whether it should be strictly resolved state with no duplicate state-key tuples.

@richvdh
Copy link
Member

richvdh commented Mar 19, 2020

for the record: it should be the resolved state at (before? after?) the join event. The joining server lacks the information to do a state res.

@richvdh richvdh added clarification An area where the spec could do with being more explicit s2s Server-to-Server API (federation) labels Mar 19, 2020
@turt2live turt2live self-assigned this May 25, 2020
turt2live added a commit that referenced this issue May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification An area where the spec could do with being more explicit s2s Server-to-Server API (federation)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants