summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-08-23 11:04:30 -0700
committerLance Stout <lancestout@gmail.com>2012-08-23 11:04:30 -0700
commite20610ab80b1edf3be84a2a5a0fafc22a35d3aee (patch)
tree1b6904b079048a578a1e654f2b0683ceb446230b
parent7d382a2bfdd417e5984201a597e2f55a61e95fde (diff)
parentf52a10b061bb3ba485c70e3c37fe98cffd8808b2 (diff)
downloadslixmpp-e20610ab80b1edf3be84a2a5a0fafc22a35d3aee.tar.gz
slixmpp-e20610ab80b1edf3be84a2a5a0fafc22a35d3aee.tar.bz2
slixmpp-e20610ab80b1edf3be84a2a5a0fafc22a35d3aee.tar.xz
slixmpp-e20610ab80b1edf3be84a2a5a0fafc22a35d3aee.zip
Merge pull request #197 from FlorianFieber/develop
Fix get_blocked() in XEP-0191
-rw-r--r--sleekxmpp/plugins/xep_0191/blocking.py2
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)