diff options
author | andrew do <dohandrew@protonmail.com> | 2022-05-04 04:26:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 11:26:11 +0000 |
commit | 01e625513afbd9645ff642810d559f96fab13278 (patch) | |
tree | ac37613e8f0c2564c4cfef3ee12ad591097daefa /synapse/state | |
parent | Fixes to the formatting of README.rst (#12627) (diff) | |
download | synapse-01e625513afbd9645ff642810d559f96fab13278.tar.xz |
remove constantly lib use and switch to enums. (#12624)
Diffstat (limited to 'synapse/state')
-rw-r--r-- | synapse/state/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py index fbf7ba4600..cad3b42640 100644 --- a/synapse/state/__init__.py +++ b/synapse/state/__init__.py @@ -800,7 +800,7 @@ class StateResolutionStore: return self.store.get_events( event_ids, - redact_behaviour=EventRedactBehaviour.AS_IS, + redact_behaviour=EventRedactBehaviour.as_is, get_prev_content=False, allow_rejected=allow_rejected, ) |