diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/room.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 3dd366f8..6f6128e0 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -735,7 +735,8 @@ Room::Changes Room::Private::markMessagesAsRead(rev_iter_t upToMarker) // until the previous last-read message, whichever comes first. for (; upToMarker < prevMarker; ++upToMarker) { if ((*upToMarker)->senderId() != q->localUser()->id()) { - connection->callApi<PostReceiptJob>(id, QStringLiteral("m.read"), + connection->callApi<PostReceiptJob>(BackgroundRequest, + id, QStringLiteral("m.read"), QUrl::toPercentEncoding( (*upToMarker)->id())); break; |