mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-04 23:48:49 -04:00
add a comment
This commit is contained in:
parent
2731bf7ac3
commit
2172a3d8cb
1 changed files with 2 additions and 0 deletions
|
@ -291,6 +291,8 @@ def filter_events_for_server(store, server_name, events):
|
||||||
def include(typ, state_key):
|
def include(typ, state_key):
|
||||||
if typ != EventTypes.Member:
|
if typ != EventTypes.Member:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
# we avoid using get_domain_from_id here for efficiency.
|
||||||
idx = state_key.find(":")
|
idx = state_key.find(":")
|
||||||
if idx == -1:
|
if idx == -1:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue