Skip to content
Snippets Groups Projects
Commit 8e3bbc9b authored by Mark Haines's avatar Mark Haines
Browse files

Clarify which event is returned by check_user_was_in_room

parent e2054ce2
No related branches found
No related tags found
No related merge requests found
......@@ -146,8 +146,9 @@ class Auth(object):
Raises:
AuthError if the user was never in the room.
Returns:
A deferred membership event for the user if the user was in
the room.
A deferred membership event for the user if the user was in the
room. This will be the join event if they are currently joined to
the room. This will be the leave event if they have left the room.
"""
if current_state:
member = current_state.get(
......
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