Remove the is_announcement docstring

This commit is contained in:
Paul Chobert committed 2026-10-28 10:55:15 +01:00
1 parent 4f2bba6ba9
commit d9ced20bbc
1 file changed
-3
-3
View File
@@ -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