diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-12 17:57:48 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-12 18:49:51 (GMT) |
commit | 72858ab262a16aa8db209c2898ab0d3c951a9829 (patch) | |
tree | 411ccedbf9bdd746ccb1f124e74fe91111d63a56 /Swiften/Parser/XMPPParser.cpp | |
parent | eb1338be843c53aa02fac0d38455aada3f89db0b (diff) | |
download | swift-contrib-72858ab262a16aa8db209c2898ab0d3c951a9829.zip swift-contrib-72858ab262a16aa8db209c2898ab0d3c951a9829.tar.bz2 |
Added ServerFromClientSession.
Diffstat (limited to 'Swiften/Parser/XMPPParser.cpp')
-rw-r--r-- | Swiften/Parser/XMPPParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Parser/XMPPParser.cpp b/Swiften/Parser/XMPPParser.cpp index e05cbca..59cfce7 100644 --- a/Swiften/Parser/XMPPParser.cpp +++ b/Swiften/Parser/XMPPParser.cpp @@ -54,7 +54,7 @@ bool XMPPParser::parse(const String& data) { void XMPPParser::handleStartElement(const String& element, const String& ns, const AttributeMap& attributes) { if (!inStream()) { if (element == "stream" && ns == "http://etherx.jabber.org/streams") { - client_->handleStreamStart(); + client_->handleStreamStart(attributes.getAttribute("to")); } else { parseErrorOccurred_ = true; |