mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Fix logging error when a tampered event is detected. (#5500)
This commit is contained in:
parent
8fecb5fcbf
commit
2f8491daef
1
changelog.d/5500.bugfix
Normal file
1
changelog.d/5500.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix logging error when a tampered event is detected.
|
@ -163,7 +163,6 @@ class FederationBase(object):
|
|||||||
logger.warning(
|
logger.warning(
|
||||||
"Event %s content has been tampered, redacting",
|
"Event %s content has been tampered, redacting",
|
||||||
pdu.event_id,
|
pdu.event_id,
|
||||||
pdu.get_pdu_json(),
|
|
||||||
)
|
)
|
||||||
return redacted_event
|
return redacted_event
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user