From dc53839b2afd2e1ee5af882924a1c0a5b553da4e Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 23 Mar 2020 08:56:01 +0100 Subject: Support for server notices rooms (MSC1452) Fixes #326. --- lib/room.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/room.h') 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; -- cgit v1.2.3