aboutsummaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'room.h')
-rw-r--r--room.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/room.h b/room.h
index 6dba6156..8e27a608 100644
--- a/room.h
+++ b/room.h
@@ -242,6 +242,15 @@ namespace QMatrixClient
QStringList tagNames() const;
const QHash<QString, TagRecord>& tags() const;
+ TagRecord tag(const QString& name) const;
+
+ /** Check whether the list of tags has m.favourite */
+ bool isFavourite() const;
+ /** Check whether the list of tags has m.lowpriority */
+ bool isLowPriority() const;
+
+ /** Check whether this room is a direct chat */
+ bool isDirectChat() const;
Q_INVOKABLE QUrl urlToThumbnail(const QString& eventId);
Q_INVOKABLE QUrl urlToDownload(const QString& eventId);