diff options
author | Lance stout <lancestout@gmail.com> | 2010-05-28 22:45:48 +0800 |
---|---|---|
committer | Thom Nichols <tmnichols@gmail.com> | 2010-06-01 22:07:53 +0800 |
commit | e18793152f9cd031e4032410198a24eb6ffa543c (patch) | |
tree | 4d3648ab93dc82c93b1024e5cc51cccdbee9b52e | |
parent | e388680269ea859128835d5d2e778cb8a3d9e8ff (diff) | |
download | slixmpp-e18793152f9cd031e4032410198a24eb6ffa543c.tar.gz slixmpp-e18793152f9cd031e4032410198a24eb6ffa543c.tar.bz2 slixmpp-e18793152f9cd031e4032410198a24eb6ffa543c.tar.xz slixmpp-e18793152f9cd031e4032410198a24eb6ffa543c.zip |
Touched up the style of creating an Iq stanza.
-rw-r--r-- | sleekxmpp/plugins/xep_0030.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0030.py b/sleekxmpp/plugins/xep_0030.py index 4370e588..6a31d243 100644 --- a/sleekxmpp/plugins/xep_0030.py +++ b/sleekxmpp/plugins/xep_0030.py @@ -291,7 +291,7 @@ class xep_0030(base.base_plugin): # Older interface methods for backwards compatibility def getInfo(self, jid, node=''): - iq = Iq(self.xmpp) + iq = self.xmpp.Iq() iq['type'] = 'get' iq['to'] = jid iq['from'] = self.xmpp.fulljid @@ -299,7 +299,7 @@ class xep_0030(base.base_plugin): iq.send() def getItems(self, jid, node=''): - iq = Iq(self.xmpp) + iq = self.xmpp.Iq() iq['type'] = 'get' iq['to'] = jid iq['from'] = self.xmpp.fulljid |