mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-04 09:07:22 +00:00
Separate the server announcement case in the docstring
This commit is contained in:
1 file changed
+4
-3
@@ -129,9 +129,10 @@ class BaseAuth(ABC):
|
||||
Returns:
|
||||
Resolves to the current membership of the user in the room and the
|
||||
membership event ID of the user. If the user is not in the room and
|
||||
never has been, then `(Membership.JOIN, None)` is returned. The same
|
||||
is returned for a user who left a server announcement room, so that
|
||||
they keep reading it like a user who never joined.
|
||||
never has been, then `(Membership.JOIN, None)` is returned.
|
||||
|
||||
The same is returned for a user who left a server announcement room,
|
||||
so that they keep reading it like a user who never joined.
|
||||
"""
|
||||
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user