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
* commit '7d846e870':
  Fix bug with getting missing auth event during join 500'ed (#6810)
  • Loading branch information
anoadragon453 committed Mar 23, 2020
2 parents 699da5b + 7d846e8 commit bea0e0d
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 @@ -1940,7 +1940,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 bea0e0d

Please sign in to comment.