aboutsummaryrefslogtreecommitdiff
path: root/lib/networkaccessmanager.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-18 19:25:52 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-18 19:25:52 +0100
commit142fc5a21f541e2a7592119df075a543527195b9 (patch)
treef38cd3f38465a0cf8b38c198b202e624fe939ae1 /lib/networkaccessmanager.cpp
parentecbff4c1a21ff4c0ab72141bc1a34ae189d33483 (diff)
parentbf82aeea369cacfc93a0e6d6d9feb01f1f2afdb2 (diff)
downloadlibquotient-142fc5a21f541e2a7592119df075a543527195b9.tar.gz
libquotient-142fc5a21f541e2a7592119df075a543527195b9.zip
Merge branch 'kitsune/cleanup2' into dev
Diffstat (limited to 'lib/networkaccessmanager.cpp')
-rw-r--r--lib/networkaccessmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/networkaccessmanager.cpp b/lib/networkaccessmanager.cpp
index 2c0f716b..58c3cc3a 100644
--- a/lib/networkaccessmanager.cpp
+++ b/lib/networkaccessmanager.cpp
@@ -97,7 +97,7 @@ QNetworkReply* NetworkAccessManager::createRequest(
// TODO: Make the best effort with a direct unauthenticated request
// to the media server
} else {
- auto* const connection = AccountRegistry::instance().get(accountId);
+ auto* const connection = Accounts.get(accountId);
if (!connection) {
qCWarning(NETWORK) << "Connection" << accountId << "not found";
return new MxcReply();