diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-03-11 15:32:07 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-03-11 17:53:18 +0000 |
commit | 9c0775e86ab39b193670723927a1caf67f6bfc11 (patch) | |
tree | 6fb5f8a9787718496babe47fe2993ac98737b321 /synapse | |
parent | Don't filter out dummy events when we're checking the visibility of state (diff) | |
download | synapse-9c0775e86ab39b193670723927a1caf67f6bfc11.tar.xz |
Fix condition
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/visibility.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/visibility.py b/synapse/visibility.py index 1d538b206d..d0b2241e48 100644 --- a/synapse/visibility.py +++ b/synapse/visibility.py @@ -95,7 +95,7 @@ def filter_events_for_client( erased_senders = yield storage.main.are_users_erased((e.sender for e in events)) - if not filter_send_to_client: + if filter_send_to_client: room_ids = {e.room_id for e in events} retention_policies = {} |