diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-23 16:40:10 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-23 19:23:04 +0900 |
commit | fd524590e3888ee5b4c0e25eb2138db4763dd0ec (patch) | |
tree | 8e3bcd3b91a9eee0f916e3406fef14a1fb172312 /lib | |
parent | 52081fe91724e5f2a82c55f0e6230d8841dd859a (diff) | |
download | libquotient-fd524590e3888ee5b4c0e25eb2138db4763dd0ec.tar.gz libquotient-fd524590e3888ee5b4c0e25eb2138db4763dd0ec.zip |
Room::setLastReadEvent: save room state when updating own read marker
Diffstat (limited to 'lib')
-rw-r--r-- | lib/room.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<PostReadMarkersJob>(id, storedId); emit q->readMarkerMoved(eventId, storedId); + connection->saveRoomState(q); } } |