1 files changed, 1 insertions, 1 deletions
diff --git a/src/RoomList.cc b/src/RoomList.cc
index 5f094a1c..418a5d6f 100644
--- a/src/RoomList.cc
+++ b/src/RoomList.cc
@@ -93,7 +93,7 @@ RoomList::updateAvatar(const QString &room_id, const QString &url)
if (savedImgData.isEmpty()) {
mtx::http::ThumbOpts opts;
opts.mxc_url = url.toStdString();
- http::v2::client()->get_thumbnail(
+ http::client()->get_thumbnail(
opts, [room_id, opts, this](const std::string &res, mtx::http::RequestErr err) {
if (err) {
nhlog::net()->warn(
|