Skip to content
Snippets Groups Projects
Commit 2172a3d8 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

add a comment

parent 2731bf7a
No related branches found
No related tags found
No related merge requests found
......@@ -291,6 +291,8 @@ def filter_events_for_server(store, server_name, events):
def include(typ, state_key):
if typ != EventTypes.Member:
return True
# we avoid using get_domain_from_id here for efficiency.
idx = state_key.find(":")
if idx == -1:
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment