From 12fff7408ea7539d778a641bbf1746693d30ee2a Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 27 Oct 2020 17:45:28 +0100 Subject: Optimize build --- src/ui/UserProfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/UserProfile.cpp') diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp index 2bb0370f..974aa5cc 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp @@ -117,7 +117,7 @@ UserProfile::fetchDeviceList(const QString &userID) { auto localUser = utils::localUser(); - ChatPage::instance()->query_keys( + cache::client()->query_keys( userID.toStdString(), [other_user_id = userID.toStdString(), this](const UserKeyCache &other_user_keys, mtx::http::RequestErr err) { @@ -129,7 +129,7 @@ UserProfile::fetchDeviceList(const QString &userID) } // Finding if the User is Verified or not based on the Signatures - ChatPage::instance()->query_keys( + cache::client()->query_keys( utils::localUser().toStdString(), [other_user_id, other_user_keys, this](const UserKeyCache &res, mtx::http::RequestErr err) { -- cgit 1.5.1