diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-04-07 23:10:32 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-04-07 23:10:32 -0700 |
commit | ecd5a172ed49cbdf69cb3eaf0786fd18d801ee65 (patch) | |
tree | d41aebdee8c6e6ed58850c7de006e00e405b9ddb /sleekxmpp/plugins/xep_0045.py | |
parent | 935ee4d14e80899fa45bb3d9296e123f642cc413 (diff) | |
download | slixmpp-ecd5a172ed49cbdf69cb3eaf0786fd18d801ee65.tar.gz slixmpp-ecd5a172ed49cbdf69cb3eaf0786fd18d801ee65.tar.bz2 slixmpp-ecd5a172ed49cbdf69cb3eaf0786fd18d801ee65.tar.xz slixmpp-ecd5a172ed49cbdf69cb3eaf0786fd18d801ee65.zip |
replaced usage of deprecated iq result on send. Fixed old send result to use stanzas instead of ElementTree
Diffstat (limited to 'sleekxmpp/plugins/xep_0045.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0045.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py index 1e695233..7fc8a2bf 100644 --- a/sleekxmpp/plugins/xep_0045.py +++ b/sleekxmpp/plugins/xep_0045.py @@ -182,7 +182,6 @@ class xep_0045(base.base_plugin): form = form.getXML('submit') query.append(form) iq.append(query) - #result = self.xmpp.send(iq, self.xmpp.makeIq(iq.get('id'))) result = iq.send() if result['type'] == 'error': return False @@ -224,7 +223,6 @@ class xep_0045(base.base_plugin): destroy.append(xreason) query.append(destroy) iq.append(query) - #r = self.xmpp.send(iq, self.xmpp.makeIq(iq.get('id'))) r = iq.send() if r is False or r['type'] == 'error': return False |