Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Remove consensus logic from inbound federation.#8025

Closed
erikjohnston wants to merge 2 commits into
developfrom
erikj/remove_auth_difference_code
Closed

Remove consensus logic from inbound federation.#8025
erikjohnston wants to merge 2 commits into
developfrom
erikj/remove_auth_difference_code

Conversation

@erikjohnston
Copy link
Copy Markdown
Member

The logic is "designed" to "handle" the case where the servers view of
the state at an event doesn't match what the remote server set as the
auth events. With some hand waving the server would try and come to some
sort of conclusion of which side was correct, involving state
resolution, but this could come up with interesting results.

The entire process is unspecced and buggy, so let's just remove it.

This fixes situations where the server seemingly randomly changed the state of the room, particularly around power levels or join rules.

The logic is "designed" to "handle" the case where the servers view of
the state at an event doesn't match what the remote server set as the
auth events. With some hand waving the server would try and come to some
sort of conclusion of which side was correct, involving state
resolution, but this could come up with interesting results.

The entire process is unspecced and buggy, so let's just remove it.
@DMRobertson
Copy link
Copy Markdown
Contributor

Not sure of the history, but I think this was done in #12943?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants