From d9ced20bbc1044097ea5daeaa0fe3e18bc9adbec Mon Sep 17 00:00:00 2001 From: Paul Chobert Date: Wed, 28 Oct 2026 10:55:15 +0100 Subject: [PATCH] Remove the is_announcement docstring --- synapse/handlers/sync.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index c41eb97062..d590578c5d 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -277,9 +277,6 @@ class JoinedSyncResult: summary: JsonDict | None unread_count: int is_announcement: bool = False - """Unread counts are always zero for announcement rooms: push actions are only - computed for members, and computing the counts fails for a user with no - membership in the room.""" def __bool__(self) -> bool: """Make the result appear empty if there are no updates. This is used