mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 01:34:47 -04:00
add a comment
This commit is contained in:
parent
4a11df5b64
commit
79eb339c66
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue