diff options
author | Lance Stout <lancestout@gmail.com> | 2010-12-16 15:38:00 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-12-16 15:38:00 -0500 |
commit | 67775fb8bdd806517864354564cb30aa0a6b4d66 (patch) | |
tree | 2f8d09e9e30797e7a3ceca03a98f62563e09189b /sleekxmpp/plugins/xep_0092.py | |
parent | e81683beeee5e7e03e05ad10320ebd1adb30269f (diff) | |
download | slixmpp-67775fb8bdd806517864354564cb30aa0a6b4d66.tar.gz slixmpp-67775fb8bdd806517864354564cb30aa0a6b4d66.tar.bz2 slixmpp-67775fb8bdd806517864354564cb30aa0a6b4d66.tar.xz slixmpp-67775fb8bdd806517864354564cb30aa0a6b4d66.zip |
Use boundjid in plugins instead of the deprecated accessors.
Originally contributed by skinkie, with a few modifications.
Diffstat (limited to 'sleekxmpp/plugins/xep_0092.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0092.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0092.py b/sleekxmpp/plugins/xep_0092.py index ca02c4a8..c9b418ff 100644 --- a/sleekxmpp/plugins/xep_0092.py +++ b/sleekxmpp/plugins/xep_0092.py @@ -42,7 +42,7 @@ class xep_0092(base.base_plugin): query = ET.Element('{jabber:iq:version}query') iq.append(query) iq.attrib['to'] = jid - iq.attrib['from'] = self.xmpp.fulljid + iq.attrib['from'] = self.xmpp.boundjid.full id = iq.get('id') result = iq.send() if result and result is not None and result.get('type', 'error') != 'error': |