aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index c11f7990..c2c4ba78 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -750,8 +750,7 @@ Room::Changes Room::Private::markMessagesAsRead(rev_iter_t upToMarker)
if ((*upToMarker)->senderId() != q->localUser()->id()) {
connection->callApi<PostReceiptJob>(BackgroundRequest,
id, QStringLiteral("m.read"),
- QUrl::toPercentEncoding(
- (*upToMarker)->id()));
+ (*upToMarker)->id());
break;
}
}