Skip to content
Snippets Groups Projects
Commit a8f96c63 authored by Erik Johnston's avatar Erik Johnston
Browse files

Comment

parent f83ac782
No related branches found
No related tags found
No related merge requests found
...@@ -265,7 +265,9 @@ class Filter(object): ...@@ -265,7 +265,9 @@ class Filter(object):
else: else:
sender = event.get("sender", None) sender = event.get("sender", None)
if not sender: if not sender:
# Presence events have their 'sender' in content.user_id # Presence events had their 'sender' in content.user_id, but are
# now handled above. We don't know if anything else uses this
# form. TODO: Check this and probably remove it.
content = event.get("content") content = event.get("content")
# account_data has been allowed to have non-dict content, so # account_data has been allowed to have non-dict content, so
# check type first # check type first
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment