Fix the iq.send() function, and a bunch of places where it is called
This is a big-and-dirty commit with a bunch of cleanup, maybe breaking a few things, and not fixing all iq.send() calls yet.
This commit is contained in:
@@ -89,7 +89,7 @@ class XEP_0077(BasePlugin):
|
||||
iq['from'] = ifrom
|
||||
iq.enable('register')
|
||||
return iq.send(block=block, timeout=timeout,
|
||||
callback=callback, now=True)
|
||||
callback=callback)
|
||||
|
||||
def cancel_registration(self, jid=None, ifrom=None, block=True,
|
||||
timeout=None, callback=None):
|
||||
|
||||
Reference in New Issue
Block a user