summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-23 18:21:55 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-23 18:21:55 +0200
commitdba2fb525a4c7a58f189995c1b323be23e7aab41 (patch)
tree1f5c2a024d19603261406365115fc5c618d0f9c7 /src
parentMerge pull request #651 from LorenDB/qml-all-the-things (diff)
downloadnheko-dba2fb525a4c7a58f189995c1b323be23e7aab41.tar.xz
Remove unused this capture
Diffstat (limited to 'src')
-rw-r--r--src/SingleImagePackModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SingleImagePackModel.cpp b/src/SingleImagePackModel.cpp
index ba873c19..6c508da0 100644
--- a/src/SingleImagePackModel.cpp
+++ b/src/SingleImagePackModel.cpp
@@ -94,7 +94,7 @@ SingleImagePackModel::setGloballyEnabled(bool enabled)
         else
                 content.rooms[roomid_].erase(statekey_);
 
-        http::client()->put_account_data(content, [this](mtx::http::RequestErr) {
+        http::client()->put_account_data(content, [](mtx::http::RequestErr) {
                 // emit this->globallyEnabledChanged();
         });
 }