remove constantly lib use and switch to enums. (#12624)

This commit is contained in:
andrew do 2022-05-04 04:26:11 -07:00 committed by GitHub
parent 873d467976
commit 01e625513a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 36 additions and 38 deletions

View file

@ -48,7 +48,7 @@ class SignatureWorkerStore(EventsWorkerStore):
"""
events = await self.get_events(
event_ids,
redact_behaviour=EventRedactBehaviour.AS_IS,
redact_behaviour=EventRedactBehaviour.as_is,
allow_rejected=True,
)