aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 080ad30d..dc9f5ccc 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -1530,7 +1530,7 @@ bool Room::processStateEvent(const RoomEvent& e)
void Room::processEphemeralEvent(EventPtr&& event)
{
QElapsedTimer et; et.start();
- visit(event
+ visit(*event
, [this,et] (const TypingEvent& evt) {
d->usersTyping.clear();
for( const QString& userId: qAsConst(evt.users()) )
@@ -1595,7 +1595,7 @@ void Room::processEphemeralEvent(EventPtr&& event)
void Room::processAccountDataEvent(EventPtr&& event)
{
- visit(event
+ visit(*event
, [this] (const TagEvent& evt) {
auto newTags = evt.tags();
if (newTags == d->tags)