Skip to content
Snippets Groups Projects
Commit 935abee6 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix unused capture warning

parent 2a858d84
No related branches found
No related tags found
1 merge request!6Chat Privacy screen
Pipeline #565 canceled
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment