diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-03-23 08:56:01 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-03-25 22:35:23 +0100 |
commit | dc53839b2afd2e1ee5af882924a1c0a5b553da4e (patch) | |
tree | 851ef96132d827f5204229c12d988fcc31b00b43 /lib/room.h | |
parent | fb63012ec32c98c663802951153207442d1d63df (diff) | |
download | libquotient-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |