synapse/visibility.py: fix SyntaxError on py3.7
This commit is contained in:
parent
381d2cfdf0
commit
fb216a22db
|
@ -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