summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0191
diff options
context:
space:
mode:
authorFlorian Fieber <florian@florianfieber.de>2012-08-23 03:55:17 +0200
committerFlorian Fieber <florian@florianfieber.de>2012-08-23 03:57:05 +0200
commitf52a10b061bb3ba485c70e3c37fe98cffd8808b2 (patch)
tree1b6904b079048a578a1e654f2b0683ceb446230b /sleekxmpp/plugins/xep_0191
parent09bec1c4fef78f9df021099d9b79d4f92c2af895 (diff)
downloadslixmpp-f52a10b061bb3ba485c70e3c37fe98cffd8808b2.tar.gz
slixmpp-f52a10b061bb3ba485c70e3c37fe98cffd8808b2.tar.bz2
slixmpp-f52a10b061bb3ba485c70e3c37fe98cffd8808b2.tar.xz
slixmpp-f52a10b061bb3ba485c70e3c37fe98cffd8808b2.zip
Fix get_blocked() in XEP-0191
Diffstat (limited to 'sleekxmpp/plugins/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)