diff options
author | Florian Fieber <florian@florianfieber.de> | 2012-08-23 03:55:17 +0200 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-08-24 11:44:56 -0700 |
commit | e68b07dbce6b03ef99a19886a9b53808e5a04289 (patch) | |
tree | 250fc8703ae0b472c5c2f5543f8ae04e274d9932 | |
parent | 1ca0c463334f71214f8d78d63ec4220100cc7ff1 (diff) | |
download | slixmpp-e68b07dbce6b03ef99a19886a9b53808e5a04289.tar.gz slixmpp-e68b07dbce6b03ef99a19886a9b53808e5a04289.tar.bz2 slixmpp-e68b07dbce6b03ef99a19886a9b53808e5a04289.tar.xz slixmpp-e68b07dbce6b03ef99a19886a9b53808e5a04289.zip |
Fix get_blocked() in XEP-0191
-rw-r--r-- | sleekxmpp/plugins/xep_0191/blocking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0191/blocking.py b/sleekxmpp/plugins/xep_0191/blocking.py index 4a87479a..57632319 100644 --- a/sleekxmpp/plugins/xep_0191/blocking.py +++ b/sleekxmpp/plugins/xep_0191/blocking.py @@ -48,7 +48,7 @@ class XEP_0191(BasePlugin): def get_blocked(self, ifrom=None, block=True, timeout=None, callback=None): iq = self.xmpp.Iq() iq['type'] = 'get' - iq['from'] = 'ifrom' + iq['from'] = ifrom iq.enable('blocklist') return iq.send(block=block, timeout=timeout, callback=callback) |