summary refs log tree commit diff
path: root/synapse/handlers/federation_event.py
diff options
context:
space:
mode:
authorandrew do <dohandrew@protonmail.com>2022-05-04 04:26:11 -0700
committerGitHub <noreply@github.com>2022-05-04 11:26:11 +0000
commit01e625513afbd9645ff642810d559f96fab13278 (patch)
treeac37613e8f0c2564c4cfef3ee12ad591097daefa /synapse/handlers/federation_event.py
parentFixes to the formatting of README.rst (#12627) (diff)
downloadsynapse-01e625513afbd9645ff642810d559f96fab13278.tar.xz
remove constantly lib use and switch to enums. (#12624)
Diffstat (limited to 'synapse/handlers/federation_event.py')
-rw-r--r--synapse/handlers/federation_event.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation_event.py b/synapse/handlers/federation_event.py
index 693b544286..6cf927e4ff 100644
--- a/synapse/handlers/federation_event.py
+++ b/synapse/handlers/federation_event.py
@@ -860,7 +860,7 @@ class FederationEventHandler:
             evs = await self._store.get_events(
                 list(state_map.values()),
                 get_prev_content=False,
-                redact_behaviour=EventRedactBehaviour.AS_IS,
+                redact_behaviour=EventRedactBehaviour.as_is,
             )
             event_map.update(evs)