aboutsummaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'room.h')
-rw-r--r--room.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/room.h b/room.h
index 0eb5ecc3..59566092 100644
--- a/room.h
+++ b/room.h
@@ -269,6 +269,9 @@ namespace QMatrixClient
/** Check whether this room is a direct chat */
bool isDirectChat() const;
+ /** Get the list of users this room is a direct chat with */
+ QList<const User*> directChatUsers() const;
+
Q_INVOKABLE QUrl urlToThumbnail(const QString& eventId);
Q_INVOKABLE QUrl urlToDownload(const QString& eventId);
Q_INVOKABLE QString fileNameToDownload(const QString& eventId);