mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 07:34:22 -04:00
remove constantly lib use and switch to enums. (#12624)
This commit is contained in:
parent
873d467976
commit
01e625513a
11 changed files with 36 additions and 38 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue