summary refs log tree commit diff
path: root/src/AvatarProvider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/AvatarProvider.cc')
-rw-r--r--src/AvatarProvider.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/AvatarProvider.cc b/src/AvatarProvider.cc

index c7745239..51ff27ac 100644 --- a/src/AvatarProvider.cc +++ b/src/AvatarProvider.cc
@@ -22,7 +22,6 @@ #include "Cache.h" #include "MatrixClient.h" -QSharedPointer<MatrixClient> AvatarProvider::client_; QSharedPointer<Cache> AvatarProvider::cache_; void @@ -46,7 +45,7 @@ AvatarProvider::resolve(const QString &room_id, return; } - auto proxy = client_->fetchUserAvatar(avatarUrl); + auto proxy = http::client()->fetchUserAvatar(avatarUrl); if (proxy.isNull()) return;