1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index d2ba70a814..38dc5b1f6e 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -316,7 +316,7 @@ class FederationHandler:
events_to_check = await self.store.get_events_as_list(
event_ids_to_check,
- redact_behaviour=EventRedactBehaviour.AS_IS,
+ redact_behaviour=EventRedactBehaviour.as_is,
get_prev_content=False,
)
@@ -1494,7 +1494,7 @@ class FederationHandler:
events = await self.store.get_events_as_list(
batch,
- redact_behaviour=EventRedactBehaviour.AS_IS,
+ redact_behaviour=EventRedactBehaviour.as_is,
allow_rejected=True,
)
for event in events:
|