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

Commit

Permalink
Ignore the call to get_pdu until it is fixed as part of #6997.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Feb 27, 2020
1 parent 6519162 commit 23e6b3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synapse/federation/federation_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ def handle_check_result(pdu: EventBase, deferred: Deferred):

if not res and pdu.origin != origin:
try:
# This should not exist in the base implementation, until
# this is fixed, ignore it for typing. See issue #6997.
res = yield defer.ensureDeferred(
self.get_pdu(
self.get_pdu( # type: ignore
destinations=[pdu.origin],
event_id=pdu.event_id,
room_version=room_version,
Expand Down

0 comments on commit 23e6b3a

Please sign in to comment.