mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-06 22:21:59 +00:00
add a comment
This commit is contained in:
parent
4a11df5b64
commit
79eb339c66
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user