aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-03-23 08:56:01 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-03-25 22:35:23 +0100
commitdc53839b2afd2e1ee5af882924a1c0a5b553da4e (patch)
tree851ef96132d827f5204229c12d988fcc31b00b43 /lib/room.h
parentfb63012ec32c98c663802951153207442d1d63df (diff)
downloadlibquotient-dc53839b2afd2e1ee5af882924a1c0a5b553da4e.tar.gz
libquotient-dc53839b2afd2e1ee5af882924a1c0a5b553da4e.zip
Support for server notices rooms (MSC1452)
Fixes #326.
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;