* converted sleekxmpp to Python 3.x
* sleekxmpp no longer spawns threads for callback handlers -- there are now two threads: one for handlers and one for reading. callback handlers can get results from the read queue directly with the "wait" handler which is used in .send() for the reply catching argument.
This commit is contained in:
@@ -3,5 +3,5 @@ from . callback import Callback
|
||||
|
||||
class XMLCallback(Callback):
|
||||
|
||||
def run(self, payload):
|
||||
Callback.run(self, payload.xml)
|
||||
def run(self, payload, instream=False):
|
||||
Callback.run(self, payload.xml, instream)
|
||||
|
||||
Reference in New Issue
Block a user