mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 13:04:20 -05:00
synapse/visibility.py: fix SyntaxError on py3.7
This commit is contained in:
parent
381d2cfdf0
commit
fb216a22db
1
changelog.d/4033.bugfix
Normal file
1
changelog.d/4033.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Synapse now starts on Python 3.7.
|
@ -219,7 +219,7 @@ def filter_events_for_server(store, server_name, events):
|
|||||||
# Whatever else we do, we need to check for senders which have requested
|
# Whatever else we do, we need to check for senders which have requested
|
||||||
# erasure of their data.
|
# erasure of their data.
|
||||||
erased_senders = yield store.are_users_erased(
|
erased_senders = yield store.are_users_erased(
|
||||||
e.sender for e in events,
|
(e.sender for e in events),
|
||||||
)
|
)
|
||||||
|
|
||||||
def redact_disallowed(event, state):
|
def redact_disallowed(event, state):
|
||||||
|
Loading…
Reference in New Issue
Block a user