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

Commit 23e6b3a

Browse files
committed
Ignore the call to get_pdu until it is fixed as part of #6997.
1 parent 6519162 commit 23e6b3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

synapse/federation/federation_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ def handle_check_result(pdu: EventBase, deferred: Deferred):
104104

105105
if not res and pdu.origin != origin:
106106
try:
107+
# This should not exist in the base implementation, until
108+
# this is fixed, ignore it for typing. See issue #6997.
107109
res = yield defer.ensureDeferred(
108-
self.get_pdu(
110+
self.get_pdu( # type: ignore
109111
destinations=[pdu.origin],
110112
event_id=pdu.event_id,
111113
room_version=room_version,

0 commit comments

Comments
 (0)