Skip to content
Snippets Groups Projects
Commit ab0073a6 authored by Patrick Cloke's avatar Patrick Cloke
Browse files

Merge remote-tracking branch 'origin/release-v1.11.1' into develop

parents 2201bc97 38012286
No related branches found
No related tags found
No related merge requests found
Fix bug which caused an error when joining a room, with `'coroutine' object has no attribute 'event_id'`.
......@@ -96,12 +96,14 @@ class FederationBase(object):
if not res and pdu.origin != origin:
try:
res = yield self.get_pdu(
destinations=[pdu.origin],
event_id=pdu.event_id,
room_version=room_version,
outlier=outlier,
timeout=10000,
res = yield defer.ensureDeferred(
self.get_pdu(
destinations=[pdu.origin],
event_id=pdu.event_id,
room_version=room_version,
outlier=outlier,
timeout=10000,
)
)
except SynapseError:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment