diff options
author | Kegsay <kegan@matrix.org> | 2020-03-17 17:18:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 17:18:48 +0000 |
commit | 1467cc10d8bd40b9ea85bc4f0aa4644b16cb37bb (patch) | |
tree | e6a6dc304bf15e0ab39989cf5a5b53c20cc94851 /common/keydb/postgres/server_key_table.go | |
parent | 4af8323df3af61e2f5e705de9ab0f6d0b84a978b (diff) |
bugfix: Fix a bug which caused failures to join rooms over federation (#917)
* bugfix: Fix a bug which caused failures to join rooms over federation
The cause of this was the semantics of `/send_join`'s `auth_chain` response.
Previously, we would only send back the auth chain *for the join event* and
not the entire room state. However, we would then try to check that the
room state is valid, and then be missing auth events.
Now, we send back the entire auth chain for all room state in `/send_join`.
The spec needs to be clarified that this is what the chain should be.
* refactor: split out grabbing state to reduce cyclo complexity
Diffstat (limited to 'common/keydb/postgres/server_key_table.go')
0 files changed, 0 insertions, 0 deletions