From ff560a09f57964ac97efffe9ee2a6be8dea527b7 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 8 Nov 2021 16:26:16 +0100 Subject: Improve fetching of device keys after login --- src/ui/UserProfile.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui') diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp index b5a16f43..72b1d8e6 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp @@ -188,6 +188,7 @@ UserProfile::fetchDeviceList(const QString &userID) nhlog::net()->warn("failed to query device keys: {},{}", mtx::errors::to_string(err->matrix_error.errcode), static_cast(err->status_code)); + return; } // Ensure local key cache is up to date @@ -201,6 +202,7 @@ UserProfile::fetchDeviceList(const QString &userID) nhlog::net()->warn("failed to query device keys: {},{}", mtx::errors::to_string(err->matrix_error.errcode), static_cast(err->status_code)); + return; } emit verificationStatiChanged(); -- cgit 1.5.1