diff --git a/src/common/xmpp/bosh.py b/src/common/xmpp/bosh.py index 353e798261cb7b8f6a5074c318710e5413f23a21..9bf5be7f3fde15a665de3268da2458e58295cf9e 100644 --- a/src/common/xmpp/bosh.py +++ b/src/common/xmpp/bosh.py @@ -413,15 +413,15 @@ class NonBlockingBOSH(NonBlockingTransport): 'xmlns:xmpp': 'urn:xmpp:xbosh'}) else: t = BOSHBody( - attrs={ 'content': self.bosh_content, - 'hold': str(self.bosh_hold), - 'route': '%s:%s' % (self.route_host, self.route_port), - 'to': self.bosh_to, - 'wait': str(self.bosh_wait), - 'xml:lang': self.bosh_xml_lang, - 'xmpp:version': '1.0', - 'ver': '1.6', - 'xmlns:xmpp': 'urn:xmpp:xbosh'}) + attrs={ 'content': self.bosh_content, + 'hold': str(self.bosh_hold), + 'route': 'xmpp:%s:%s' % (self.route_host, self.route_port), + 'to': self.bosh_to, + 'wait': str(self.bosh_wait), + 'xml:lang': self.bosh_xml_lang, + 'xmpp:version': '1.0', + 'ver': '1.6', + 'xmlns:xmpp': 'urn:xmpp:xbosh'}) self.send_BOSH((t, True)) def start_disconnect(self):