add a comment

This commit is contained in:
Richard van der Hoff 2018-07-17 14:53:34 +01:00
parent 4a11df5b64
commit 79eb339c66

View file

@ -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