diff options
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 59cfce7..0f04cca 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(attributes.getAttribute("to")); +			client_->handleStreamStart(attributes.getAttribute("from"), attributes.getAttribute("to"), attributes.getAttribute("id"));  		}  		else {  			parseErrorOccurred_ = true;  | 
 Swift