diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-03-05 19:59:52 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-03-05 19:59:52 (GMT) |
commit | 3b308419485ce1ad50ee14488595a555777ef731 (patch) | |
tree | 244866a563930d8590a5a2f1f4adbad562976bc3 /Swift/Controllers | |
parent | 651f10eee7bce78b95b61061b9aef6bb4ab81841 (diff) | |
download | swift-3b308419485ce1ad50ee14488595a555777ef731.zip swift-3b308419485ce1ad50ee14488595a555777ef731.tar.bz2 |
Get server disco from server, not bare JID.
Resolves: #859
Diffstat (limited to 'Swift/Controllers')
-rw-r--r-- | Swift/Controllers/MainController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index 656fe11..b154e93 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -320,7 +320,7 @@ void MainController::handleConnected() { client_->requestRoster(); - GetDiscoInfoRequest::ref discoInfoRequest = GetDiscoInfoRequest::create(boundJID_.toBare(), client_->getIQRouter()); + GetDiscoInfoRequest::ref discoInfoRequest = GetDiscoInfoRequest::create(JID(boundJID_.getDomain()), client_->getIQRouter()); discoInfoRequest->onResponse.connect(boost::bind(&MainController::handleServerDiscoInfoResponse, this, _1, _2)); discoInfoRequest->send(); |