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

Commit cfb4e88

Browse files
committed
Fix reference
1 parent d240aeb commit cfb4e88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapse/federation/federation_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def _check_sigs_and_hash(
8383
try:
8484
await _check_sigs_on_pdu(self.keyring, room_version, pdu)
8585
except Exception as exc:
86-
await self._store.record_event_failed_pull_attempt(
86+
await self.store.record_event_failed_pull_attempt(
8787
pdu.room_id, pdu.event_id, str(exc)
8888
)
8989
raise exc
@@ -122,7 +122,7 @@ async def _check_sigs_and_hash(
122122
"event_id": pdu.event_id,
123123
}
124124
)
125-
await self._store.record_event_failed_pull_attempt(
125+
await self.store.record_event_failed_pull_attempt(
126126
pdu.room_id, pdu.event_id, "Event content has been tampered with"
127127
)
128128
return redacted_event

0 commit comments

Comments
 (0)