mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Clarify which event is returned by check_user_was_in_room
This commit is contained in:
parent
e2054ce21a
commit
8e3bbc9bd0
@ -146,8 +146,9 @@ class Auth(object):
|
|||||||
Raises:
|
Raises:
|
||||||
AuthError if the user was never in the room.
|
AuthError if the user was never in the room.
|
||||||
Returns:
|
Returns:
|
||||||
A deferred membership event for the user if the user was in
|
A deferred membership event for the user if the user was in the
|
||||||
the room.
|
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:
|
if current_state:
|
||||||
member = current_state.get(
|
member = current_state.get(
|
||||||
|
Loading…
Reference in New Issue
Block a user