aboutsummaryrefslogtreecommitdiff
path: root/src/omemo/QXmppOmemoManager_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/omemo/QXmppOmemoManager_p.cpp')
-rw-r--r--src/omemo/QXmppOmemoManager_p.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/omemo/QXmppOmemoManager_p.cpp b/src/omemo/QXmppOmemoManager_p.cpp
index 2f8ca00d..3dfc23a3 100644
--- a/src/omemo/QXmppOmemoManager_p.cpp
+++ b/src/omemo/QXmppOmemoManager_p.cpp
@@ -1895,7 +1895,14 @@ QFuture<bool> ManagerPrivate::publishOmemoData()
// The device bundle is published before the device data is published.
// That way, it ensures that other devices are notified about this new
// device only after the corresponding device bundle is published.
- auto handleResult = [=, this](bool isPublished) mutable {
+ auto handleResult = [this,
+ interface,
+ deviceListNodeExists,
+ arePublishOptionsSupported,
+ isAutomaticCreationSupported,
+ isCreationAndConfigurationSupported,
+ isCreationSupported,
+ isConfigurationSupported](bool isPublished) mutable {
if (isPublished) {
publishDeviceElement(deviceListNodeExists,
arePublishOptionsSupported,