diff options
Diffstat (limited to 'room.cpp')
-rw-r--r-- | room.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 { |