From 2f48ba778ef66f537af723953733a7de8e5dd5c6 Mon Sep 17 00:00:00 2001 From: Paul Chobert Date: Thu, 29 Oct 2026 23:34:50 +0100 Subject: [PATCH] Separate the server announcement case in the docstring --- synapse/api/auth/base.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/synapse/api/auth/base.py b/synapse/api/auth/base.py index 533aa9ac54..56ed1a8d69 100644 --- a/synapse/api/auth/base.py +++ b/synapse/api/auth/base.py @@ -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: