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

Fix logging error when a tampered event is detected. #5500

Merged
merged 1 commit into from
Jun 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/5500.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix logging error when a tampered event is detected.
1 change: 0 additions & 1 deletion synapse/federation/federation_base.py
Original file line number Diff line number Diff line change
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