aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-16 14:42:00 +0100
committerGitHub <noreply@github.com>2021-11-16 14:42:00 +0100
commita16509d7fad5a0856ad83d0ef33b7b9d205efdd8 (patch)
treed083e1b087caff950a5246d36b6b2261154d905a /lib/room.cpp
parentfb30d455e2dbeed8c242cfbeb153f834b0358f11 (diff)
parentd8c9f0d5802f8b1c3ef362964dac5c8d60a61871 (diff)
downloadlibquotient-a16509d7fad5a0856ad83d0ef33b7b9d205efdd8.tar.gz
libquotient-a16509d7fad5a0856ad83d0ef33b7b9d205efdd8.zip
Merge pull request #519 from TobiasFella/noupfrontencoding
Port away from deprecated upfront percent encoding
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;
}
}