From 33490eddab385ca488b11d6d50683ddb6a18da6c Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 15 Jul 2018 19:09:08 +0300 Subject: Remove the v2 namespace from the http client --- src/AvatarProvider.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AvatarProvider.cc') 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) { -- cgit 1.5.1