summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2018-10-14 11:37:04 +0300
committerIvan Shapovalov <intelfx@intelfx.name>2018-10-14 20:08:17 +0300
commitfb216a22dbceebeee59aedfc6f888b73f4492908 (patch)
tree3564ce482e93c275ab51c7bc0f1f54a7f159032c /synapse
parentMake workers work on Py3 (#4027) (diff)
downloadsynapse-fb216a22dbceebeee59aedfc6f888b73f4492908.tar.xz
synapse/visibility.py: fix SyntaxError on py3.7
Diffstat (limited to 'synapse')
-rw-r--r--synapse/visibility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/visibility.py b/synapse/visibility.py
index c64ad2144c..43f48196be 100644
--- a/synapse/visibility.py
+++ b/synapse/visibility.py
@@ -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):