summary refs log tree commit diff
path: root/src/ui/UserProfile.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-02 14:10:34 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-02 14:10:34 -0500
commitf73418f368d4778c4253adc1c83f857467d9178d (patch)
tree476706301fd2364055bf80797cb5e5e1c782cda9 /src/ui/UserProfile.cpp
parentMerge pull request #444 from LorenDB/dragDropTimeline (diff)
parentMerge branch 'master' into 'privacy_screen' (diff)
downloadnheko-f73418f368d4778c4253adc1c83f857467d9178d.tar.xz
Merge branch 'privacy_screen' into 'master'
Chat Privacy screen

See merge request nheko-reborn/nheko!6
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 3872294a..de02bf5e 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp
@@ -244,7 +244,7 @@ UserProfile::changeUsername(QString username) if (isGlobalUserProfile()) { // change global http::client()->set_displayname( - username.toStdString(), [this](mtx::http::RequestErr err) { + username.toStdString(), [](mtx::http::RequestErr err) { if (err) { nhlog::net()->warn("could not change username"); return; @@ -293,4 +293,4 @@ UserProfile::setGlobalUsername(const QString &globalUser) { globalUsername = globalUser; emit displayNameChanged(); -} \ No newline at end of file +}