summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2021-03-04 19:11:08 -0500
committerJoseph Donofry <joedonofry@gmail.com>2021-03-04 19:11:08 -0500
commit4b12b53133d91794ae29a0b96d56948bca8e0d1b (patch)
treef74ede8217b9e82eda61a3bb2a8133afeb1c7d32 /src/ui
parentProperly format matrix errors in spdlog statements (diff)
downloadnheko-4b12b53133d91794ae29a0b96d56948bca8e0d1b.tar.xz
Fix linting
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/UserProfile.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp
index 311c1314..a9e013c2 100644
--- a/src/ui/UserProfile.cpp
+++ b/src/ui/UserProfile.cpp
@@ -173,9 +173,10 @@ UserProfile::fetchDeviceList(const QString &userID)
                             std::string local_user_id = utils::localUser().toStdString();
 
                             if (err) {
-                                    nhlog::net()->warn("failed to query device keys: {},{}",
-                                                       mtx::errors::to_string(err->matrix_error.errcode),
-                                                       static_cast<int>(err->status_code));
+                                    nhlog::net()->warn(
+                                      "failed to query device keys: {},{}",
+                                      mtx::errors::to_string(err->matrix_error.errcode),
+                                      static_cast<int>(err->status_code));
                                     return;
                             }