summary refs log tree commit diff
path: root/src/ui/UserProfile.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-08 16:26:16 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-08 17:01:22 +0100
commitff560a09f57964ac97efffe9ee2a6be8dea527b7 (patch)
tree176345b64e0e672bd5d2d6e5612446054f9a7207 /src/ui/UserProfile.cpp
parentTranslated using Weblate (French) (diff)
downloadnheko-ff560a09f57964ac97efffe9ee2a6be8dea527b7.tar.xz
Improve fetching of device keys after login
Diffstat (limited to 'src/ui/UserProfile.cpp')
-rw-r--r--src/ui/UserProfile.cpp2
1 files changed, 2 insertions, 0 deletions
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<int>(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<int>(err->status_code)); + return; } emit verificationStatiChanged();