mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Send component handshake immediately.
This commit is contained in:
parent
1469323350
commit
3a62908703
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class ComponentXMPP(BaseXMPP):
|
||||||
|
|
||||||
handshake = ET.Element('{jabber:component:accept}handshake')
|
handshake = ET.Element('{jabber:component:accept}handshake')
|
||||||
handshake.text = hashlib.sha1(pre_hash).hexdigest().lower()
|
handshake.text = hashlib.sha1(pre_hash).hexdigest().lower()
|
||||||
self.send_xml(handshake)
|
self.send_xml(handshake, now=True)
|
||||||
|
|
||||||
def _handle_handshake(self, xml):
|
def _handle_handshake(self, xml):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue