From fd524590e3888ee5b4c0e25eb2138db4763dd0ec Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 23 Nov 2018 16:40:10 +0900 Subject: Room::setLastReadEvent: save room state when updating own read marker --- lib/room.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/room.cpp b/lib/room.cpp index 2a1d6f66..8b81bfb2 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -401,6 +401,7 @@ void Room::Private::setLastReadEvent(User* u, QString eventId) if (storedId != serverReadMarker) connection->callApi(id, storedId); emit q->readMarkerMoved(eventId, storedId); + connection->saveRoomState(q); } } -- cgit v1.2.3