diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp
index a53d25f4..28757b72 100644
--- a/src/ui/UserProfile.cpp
+++ b/src/ui/UserProfile.cpp
@@ -4,10 +4,10 @@
#include "DeviceVerificationFlow.h"
#include "Logging.h"
#include "Utils.h"
-#include <mtx/responses/common.hpp>
#include "mtx/responses/crypto.hpp"
#include "timeline/TimelineModel.h"
#include "timeline/TimelineViewManager.h"
+#include <mtx/responses/common.hpp>
UserProfile::UserProfile(QString roomid,
QString userid,
@@ -228,7 +228,7 @@ UserProfile::changeUsername(QString username)
if (globalUserProfile()) {
// change global
http::client()->set_displayname(
- username.toStdString(), [this]( mtx::http::RequestErr err) {
+ username.toStdString(), [this](mtx::http::RequestErr err) {
if (err) {
nhlog::net()->warn("could not change username");
return;
diff --git a/src/ui/UserProfile.h b/src/ui/UserProfile.h
index 04317766..b1172077 100644
--- a/src/ui/UserProfile.h
+++ b/src/ui/UserProfile.h
@@ -94,7 +94,7 @@ public:
UserProfile(QString roomid,
QString userid,
TimelineViewManager *manager_,
- TimelineModel *parent = nullptr,
+ TimelineModel *parent = nullptr,
QString globalUsername = "");
DeviceInfoModel *deviceList();
@@ -126,8 +126,8 @@ private:
QString roomid_, userid_;
QString globalUsername;
DeviceInfoModel deviceList_;
- bool isUserVerified = false;
- bool hasMasterKey = false;
+ bool isUserVerified = false;
+ bool hasMasterKey = false;
bool usernameEditing = false;
TimelineViewManager *manager;
TimelineModel *model;
|