summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0092.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-12-16 15:38:00 -0500
committerLance Stout <lancestout@gmail.com>2010-12-16 15:38:00 -0500
commit67775fb8bdd806517864354564cb30aa0a6b4d66 (patch)
tree2f8d09e9e30797e7a3ceca03a98f62563e09189b /sleekxmpp/plugins/xep_0092.py
parente81683beeee5e7e03e05ad10320ebd1adb30269f (diff)
downloadslixmpp-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.py2
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':