aboutsummaryrefslogtreecommitdiff
path: root/lib/user.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-11-15 23:03:09 +0100
committerTobias Fella <fella@posteo.de>2021-11-15 23:03:09 +0100
commitd8c9f0d5802f8b1c3ef362964dac5c8d60a61871 (patch)
treed083e1b087caff950a5246d36b6b2261154d905a /lib/user.cpp
parentfb30d455e2dbeed8c242cfbeb153f834b0358f11 (diff)
downloadlibquotient-d8c9f0d5802f8b1c3ef362964dac5c8d60a61871.tar.gz
libquotient-d8c9f0d5802f8b1c3ef362964dac5c8d60a61871.zip
Port away from deprecated upfront percent encoding
Diffstat (limited to 'lib/user.cpp')
-rw-r--r--lib/user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.cpp b/lib/user.cpp
index 88549e5d..7da71dba 100644
--- a/lib/user.cpp
+++ b/lib/user.cpp
@@ -66,7 +66,7 @@ User::~User() = default;
void User::load()
{
auto* profileJob =
- connection()->callApi<GetUserProfileJob>(QUrl::toPercentEncoding(id()));
+ connection()->callApi<GetUserProfileJob>(id());
connect(profileJob, &BaseJob::result, this, [this, profileJob] {
d->defaultName = profileJob->displayname();
d->defaultAvatar = Avatar(QUrl(profileJob->avatarUrl()));