aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/room.h b/lib/room.h
index 8448815d..2139f28b 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -389,6 +389,8 @@ public:
bool isFavourite() const;
/// Check whether the list of tags has m.lowpriority
bool isLowPriority() const;
+ /// Check whether this room is for server notices (MSC1452)
+ bool isServerNoticeRoom() const;
/// Check whether this room is a direct chat
Q_INVOKABLE bool isDirectChat() const;