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_0050.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_0050.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0050.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0050.py b/sleekxmpp/plugins/xep_0050.py index 5efb9116..439bebb9 100644 --- a/sleekxmpp/plugins/xep_0050.py +++ b/sleekxmpp/plugins/xep_0050.py @@ -110,7 +110,7 @@ class xep_0050(base.base_plugin): if not id: id = self.xmpp.getNewId() iq = self.xmpp.makeIqResult(id) - iq.attrib['from'] = self.xmpp.fulljid + iq.attrib['from'] = self.xmpp.boundjid.full iq.attrib['to'] = to command = ET.Element('{http://jabber.org/protocol/commands}command') command.attrib['node'] = node |