Commits

Ivan Vučica  committed 37a0ee2

<session/>'s 'to' could contain colon and port. Fixed.

  • Participants
  • Parent commits 25bc818

Comments (0)

Files changed (1)

File zxmpp_stream.js

 
 		var packet = new this.zxmpp.packet(this.zxmpp);
 		var iq = new this.zxmpp.stanzaIq(this.zxmpp);
-		iq.appendIqToPacket(packet, "session", "set", this.zxmpp.cfg["domain"]);
+		iq.appendIqToPacket(packet, "session", "set", this.zxmpp.cfg["domain"].split(":")[0]);
 		iq.appendSessionToPacket(packet);
 		
 		this.hasSentSessionRequest=true;