summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-18 20:49:59 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-18 20:49:59 (GMT)
commitb2a55163964c835a4b0b61af0f0d959ec58a5a0e (patch)
treeb5f20b5c4663c3a328c39c8755dbafd14ec867b9 /Swift
parentb6594d2bdd57bf786fcc62a35f8e837ba8d221cc (diff)
downloadswift-contrib-b2a55163964c835a4b0b61af0f0d959ec58a5a0e.zip
swift-contrib-b2a55163964c835a4b0b61af0f0d959ec58a5a0e.tar.bz2
Publish security labels disco info.
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/MainController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index e7d67f7..c4d34d8 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -148,6 +148,7 @@ void MainController::handleConnected() {
DiscoInfo discoInfo;
discoInfo.addIdentity(DiscoInfo::Identity(CLIENT_NAME, "client", "pc"));
+ discoInfo.addFeature("urn:xmpp:sec-label:0");
capsInfo_ = boost::shared_ptr<CapsInfo>(new CapsInfo(CapsInfoGenerator(CLIENT_NODE).generateCapsInfo(discoInfo)));
discoResponder_ = new DiscoInfoResponder(client_);