diff options
Diffstat (limited to 'room.cpp')
-rw-r--r-- | room.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -160,6 +160,11 @@ class Room::Private } }; +RoomEventPtr TimelineItem::replaceEvent(RoomEventPtr&& other) +{ + return std::exchange(evt, std::move(other)); +} + Room::Room(Connection* connection, QString id, JoinState initialJoinState) : QObject(connection), d(new Private(connection, id, initialJoinState)) { |