Fix get_blocked() in XEP-0191
This commit is contained in:
parent
1ca0c46333
commit
e68b07dbce
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class XEP_0191(BasePlugin):
|
||||||
def get_blocked(self, ifrom=None, block=True, timeout=None, callback=None):
|
def get_blocked(self, ifrom=None, block=True, timeout=None, callback=None):
|
||||||
iq = self.xmpp.Iq()
|
iq = self.xmpp.Iq()
|
||||||
iq['type'] = 'get'
|
iq['type'] = 'get'
|
||||||
iq['from'] = 'ifrom'
|
iq['from'] = ifrom
|
||||||
iq.enable('blocklist')
|
iq.enable('blocklist')
|
||||||
return iq.send(block=block, timeout=timeout, callback=callback)
|
return iq.send(block=block, timeout=timeout, callback=callback)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue