diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-07-17 14:53:34 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-07-17 14:53:34 +0100 |
commit | 79eb339c662f47b2a525d303de941c67f52f0e21 (patch) | |
tree | 9f7b125f76d9dbb78f5b1a510a5e6dd84e8ff3d6 | |
parent | changelog (diff) | |
download | synapse-79eb339c662f47b2a525d303de941c67f52f0e21.tar.xz |
add a comment
-rw-r--r-- | synapse/visibility.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/visibility.py b/synapse/visibility.py index 202daa6800..9b97ea2b83 100644 --- a/synapse/visibility.py +++ b/synapse/visibility.py @@ -248,6 +248,8 @@ def filter_events_for_server(store, server_name, events): ) return prune_event(event) + # state will be None if we decided we didn't need to filter by + # room membership. if not state: return event |