0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-13 17:33:32 +01:00

synapse/visibility.py: fix SyntaxError on py3.7

This commit is contained in:
Ivan Shapovalov 2018-10-14 11:37:04 +03:00
parent 381d2cfdf0
commit fb216a22db
2 changed files with 2 additions and 1 deletions

1
changelog.d/4033.bugfix Normal file
View file

@ -0,0 +1 @@
Synapse now starts on Python 3.7.

View file

@ -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
# erasure of their data.
erased_senders = yield store.are_users_erased(
e.sender for e in events,
(e.sender for e in events),
)
def redact_disallowed(event, state):