diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-18 20:49:59 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-18 20:49:59 (GMT) |
commit | b2a55163964c835a4b0b61af0f0d959ec58a5a0e (patch) | |
tree | b5f20b5c4663c3a328c39c8755dbafd14ec867b9 /Swift | |
parent | b6594d2bdd57bf786fcc62a35f8e837ba8d221cc (diff) | |
download | swift-b2a55163964c835a4b0b61af0f0d959ec58a5a0e.zip swift-b2a55163964c835a4b0b61af0f0d959ec58a5a0e.tar.bz2 |
Publish security labels disco info.
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/Controllers/MainController.cpp | 1 |
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_); |