aboutsummaryrefslogtreecommitdiff
path: root/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'room.cpp')
-rw-r--r--room.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/room.cpp b/room.cpp
index 48c27ba0..01055013 100644
--- a/room.cpp
+++ b/room.cpp
@@ -631,6 +631,16 @@ bool Room::isLowPriority() const
return d->tags.contains(LowPriorityTag);
}
+bool Room::isDirectChat() const
+{
+ return connection()->isDirectChat(id());
+}
+
+QList<const User*> Room::directChatUsers() const
+{
+ return connection()->directChatUsers(this);
+}
+
const RoomMessageEvent*
Room::Private::getEventWithFile(const QString& eventId) const
{