Fix same error for get_info default behaviour.

This commit is contained in:
Lance Stout 2011-02-09 09:12:44 -05:00
parent 145f577bde
commit 13a01beb07

View file

@ -271,7 +271,7 @@ class xep_0030(base_plugin):
iq['type'] = 'get' iq['type'] = 'get'
iq['disco_info']['node'] = node if node else '' iq['disco_info']['node'] = node if node else ''
return iq.send(timeout=kwargs.get('timeout', None), return iq.send(timeout=kwargs.get('timeout', None),
block=kwargs.get('block', None), block=kwargs.get('block', True),
callback=kwargs.get('callback', None)) callback=kwargs.get('callback', None))
def get_items(self, jid=None, node=None, local=False, **kwargs): def get_items(self, jid=None, node=None, local=False, **kwargs):