summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-09-26 14:27:00 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-09-26 14:27:00 (GMT)
commit101053d01cf2274e8eb75c520cce0bfee4d15618 (patch)
tree5487512084f05005573149bdb9c56cd5eddb6eae /Swiften/Client/CoreClient.cpp
parent6c45edc9b3235ae52826c51971dff65afe10fbf6 (diff)
downloadswift-101053d01cf2274e8eb75c520cce0bfee4d15618.zip
swift-101053d01cf2274e8eb75c520cce0bfee4d15618.tar.bz2
Allow disabling of 198-acks in Swiften
Diffstat (limited to 'Swiften/Client/CoreClient.cpp')
-rw-r--r--Swiften/Client/CoreClient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Client/CoreClient.cpp b/Swiften/Client/CoreClient.cpp
index 37055e4..a223e3d 100644
--- a/Swiften/Client/CoreClient.cpp
+++ b/Swiften/Client/CoreClient.cpp
@@ -123,6 +123,7 @@ void CoreClient::handleConnectorFinished(boost::shared_ptr<Connection> connectio
session_->setUseTLS(ClientSession::RequireTLS);
break;
}
+ session_->setUseAcks(options.useAcks);
stanzaChannel_->setSession(session_);
session_->onFinished.connect(boost::bind(&CoreClient::handleSessionFinished, this, _1));
session_->onNeedCredentials.connect(boost::bind(&CoreClient::handleNeedCredentials, this));