summary refs log tree commit diff
path: root/src/ui/UserProfile.cpp
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-01-28 23:53:56 +0530
committerJedi18 <targetakhil@gmail.com>2021-01-28 23:53:56 +0530
commit3b82b2ff972e4f74904e315008b996202473570c (patch)
tree0b56ba8cea17f2d4126335e4716694807d9cde17 /src/ui/UserProfile.cpp
parentChanged edit method from double clicking to an edit button (diff)
downloadnheko-3b82b2ff972e4f74904e315008b996202473570c.tar.xz
fix linting
Diffstat (limited to 'src/ui/UserProfile.cpp')
-rw-r--r--src/ui/UserProfile.cpp4
1 files changed, 2 insertions, 2 deletions
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;