0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 09:53:47 +01:00

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

This commit is contained in:
Patrick Cloke 2020-02-27 13:47:44 -05:00
commit ab0073a6c0
2 changed files with 9 additions and 6 deletions

1
changelog.d/6996.bugfix Normal file
View file

@ -0,0 +1 @@
Fix bug which caused an error when joining a room, with `'coroutine' object has no attribute 'event_id'`.

View file

@ -96,13 +96,15 @@ class FederationBase(object):
if not res and pdu.origin != origin:
try:
res = yield self.get_pdu(
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