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

Commit

Permalink
Fix bug with getting missing auth event during join 500'ed (#6810)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored Jan 31, 2020
1 parent 46a4468 commit 7d846e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6810.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Record room versions in the `rooms` table.
6 changes: 5 additions & 1 deletion synapse/handlers/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1929,7 +1929,11 @@ def _persist_auth_tree(

for e_id in missing_auth_events:
m_ev = yield self.federation_client.get_pdu(
[origin], e_id, room_version=room_version, outlier=True, timeout=10000
[origin],
e_id,
room_version=room_version.identifier,
outlier=True,
timeout=10000,
)
if m_ev and m_ev.event_id == e_id:
event_map[e_id] = m_ev
Expand Down

0 comments on commit 7d846e8

Please sign in to comment.