summary refs log tree commit diff
path: root/src/RoomList.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/RoomList.cc')
-rw-r--r--src/RoomList.cc2
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(