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

Commit

Permalink
Fix logging error when a tampered event is detected. (#5500)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Feb 13, 2020
2 parents 22796d6 + 2f8491d commit f690571
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/5500.bugfix
@@ -0,0 +1 @@
Fix logging error when a tampered event is detected.
1 change: 0 additions & 1 deletion synapse/federation/federation_base.py
Expand Up @@ -163,7 +163,6 @@ def callback(_, pdu):
logger.warning(
"Event %s content has been tampered, redacting",
pdu.event_id,
pdu.get_pdu_json(),
)
return redacted_event

Expand Down

0 comments on commit f690571

Please sign in to comment.