summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/AccountController.cpp')
-rw-r--r--Swift/Controllers/AccountController.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swift/Controllers/AccountController.cpp b/Swift/Controllers/AccountController.cpp
index b877ce9..a257cc4 100644
--- a/Swift/Controllers/AccountController.cpp
+++ b/Swift/Controllers/AccountController.cpp
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2010-2018 Isode Limited. 2 * Copyright (c) 2010-2019 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -781,10 +781,10 @@ void AccountController::enableMessageCarbons() {
781 auto enableCarbonsRequest = EnableCarbonsRequest::create(client_->getIQRouter()); 781 auto enableCarbonsRequest = EnableCarbonsRequest::create(client_->getIQRouter());
782 enableCarbonsRequestHandlerConnection_ = enableCarbonsRequest->onResponse.connect([&](Payload::ref /*payload*/, ErrorPayload::ref error) { 782 enableCarbonsRequestHandlerConnection_ = enableCarbonsRequest->onResponse.connect([&](Payload::ref /*payload*/, ErrorPayload::ref error) {
783 if (error) { 783 if (error) {
784 SWIFT_LOG(warning) << "Failed to enable carbons." << std::endl; 784 SWIFT_LOG(warning) << "Failed to enable carbons.";
785 } 785 }
786 else { 786 else {
787 SWIFT_LOG(debug) << "Successfully enabled carbons." << std::endl; 787 SWIFT_LOG(debug) << "Successfully enabled carbons.";
788 } 788 }
789 enableCarbonsRequestHandlerConnection_.disconnect(); 789 enableCarbonsRequestHandlerConnection_.disconnect();
790 }); 790 });