From d70b2d29c11ec7a0e177c2979beeab9ddb6eb5c3 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 20 Jun 2020 19:07:46 +0200 Subject: Room: PostReadMarkersJob should be in background ...meaning - errors from it should not throw up at a user, who has no clue (they still should go to logs for investigation). --- lib/room.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/room.cpp') diff --git a/lib/room.cpp b/lib/room.cpp index b83d805c..5a4a8611 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -623,7 +623,8 @@ Room::Changes Room::Private::setLastReadEvent(User* u, QString eventId) emit q->readMarkerForUserMoved(u, eventId, storedId); if (isLocalUser(u)) { if (storedId != serverReadMarker) - connection->callApi(id, storedId); + connection->callApi(BackgroundRequest, id, + storedId); emit q->readMarkerMoved(eventId, storedId); return Change::ReadMarkerChange; } -- cgit v1.2.3