Send component handshake immediately.

This commit is contained in:
Lance Stout 2011-06-08 10:00:01 -07:00
parent 1469323350
commit 3a62908703

View file

@ -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):
""" """