Separate the server announcement case in the docstring

This commit is contained in:
Paul Chobert committed 2026-10-29 23:34:50 +01:00
1 parent dddc0c99fe
commit 2f48ba778e
1 file changed
+4 -3
+4 -3
View File
@@ -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: