Fix unused capture warning
This commit is contained in:
parent
2a858d84e2
commit
935abee62e
@ -244,7 +244,7 @@ UserProfile::changeUsername(QString username)
|
|||||||
if (isGlobalUserProfile()) {
|
if (isGlobalUserProfile()) {
|
||||||
// change global
|
// change global
|
||||||
http::client()->set_displayname(
|
http::client()->set_displayname(
|
||||||
username.toStdString(), [this](mtx::http::RequestErr err) {
|
username.toStdString(), [](mtx::http::RequestErr err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
nhlog::net()->warn("could not change username");
|
nhlog::net()->warn("could not change username");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user