diff options
author | Nathan Fritz <fritzy@netflint.net> | 2009-12-15 04:31:46 +0000 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2009-12-15 04:31:46 +0000 |
commit | ca044a4934bc6373988a1b442da3673b70357317 (patch) | |
tree | 11275ef8bbc21b68bbd8305f69654ff2442a42db /sleekxmpp/componentxmpp.py | |
parent | 8854509ccdbc1f9ea74e1eb00f3af098f2a3b6b6 (diff) | |
download | slixmpp-ca044a4934bc6373988a1b442da3673b70357317.tar.gz slixmpp-ca044a4934bc6373988a1b442da3673b70357317.tar.bz2 slixmpp-ca044a4934bc6373988a1b442da3673b70357317.tar.xz slixmpp-ca044a4934bc6373988a1b442da3673b70357317.zip |
makeMessage and makePresence now use new stanza classes
fixed component usage of stanzas
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
-rwxr-xr-x | sleekxmpp/componentxmpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py index 446f3d85..e6920897 100755 --- a/sleekxmpp/componentxmpp.py +++ b/sleekxmpp/componentxmpp.py @@ -100,7 +100,7 @@ class ComponentXMPP(basexmpp, XMLStream): sid = xml.get('id', '') handshake = ET.Element('{jabber:component:accept}handshake') handshake.text = hashlib.sha1(bytes("%s%s" % (sid, self.secret), 'utf-8')).hexdigest().lower() - self.send(handshake) + self.sendXML(handshake) def _handleHandshake(self, xml): self.event("session_start") |