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 9fd850e2..b5753c79 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -348,6 +348,8 @@ namespace QMatrixClient
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;