diff options
author | DeepBlueV7.X <nicolas.werner@hotmail.de> | 2021-02-03 03:17:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 03:17:28 +0100 |
commit | a7150b566631df39d154a968d04b19af324b3815 (patch) | |
tree | fb8ecf83dadec49096bb06c01684a53ea980d17e /src/ui/UserProfile.cpp | |
parent | fixed global avatar updation in the dialog (diff) | |
parent | Cleanup privacy screen, no more grabImage (diff) | |
download | nheko-a7150b566631df39d154a968d04b19af324b3815.tar.xz |
Merge branch 'master' into avatar_username_feature
Diffstat (limited to 'src/ui/UserProfile.cpp')
-rw-r--r-- | src/ui/UserProfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp index 715c1c42..274ed927 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; @@ -408,4 +408,4 @@ UserProfile::getGlobalProfileData() globalAvatarUrl = QString::fromStdString(res.avatar_url); emit avatarUrlChanged(); }); -} \ No newline at end of file +} |