diff options
-rw-r--r-- | room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -474,7 +474,7 @@ void Room::processEphemeralEvent(Event* event) for( QString eventId: receiptEvent->events() ) { const auto receipts = receiptEvent->receiptsForEvent(eventId); - for( const Receipt r: receipts ) + for( const Receipt& r: receipts ) { d->lastReadEvent.insert(d->connection->user(r.userId), eventId); } |