summary refs log tree commit diff
path: root/src/AvatarProvider.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-15 19:09:08 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-15 19:09:08 +0300
commit33490eddab385ca488b11d6d50683ddb6a18da6c (patch)
treef597b53c3baf0c96a0d7226f28f50740acd8b256 /src/AvatarProvider.cc
parentUser reverse iterator instead of while loop (diff)
downloadnheko-33490eddab385ca488b11d6d50683ddb6a18da6c.tar.xz
Remove the v2 namespace from the http client
Diffstat (limited to 'src/AvatarProvider.cc')
-rw-r--r--src/AvatarProvider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AvatarProvider.cc b/src/AvatarProvider.cc

index 391f57d9..b4c1188a 100644 --- a/src/AvatarProvider.cc +++ b/src/AvatarProvider.cc
@@ -52,7 +52,7 @@ resolve(const QString &room_id, const QString &user_id, QObject *receiver, Avata mtx::http::ThumbOpts opts; opts.mxc_url = avatarUrl.toStdString(); - http::v2::client()->get_thumbnail( + http::client()->get_thumbnail( opts, [opts, proxy = std::move(proxy)](const std::string &res, mtx::http::RequestErr err) { if (err) {