Commit f22fa200 authored by Philipp Hörist's avatar Philipp Hörist

Return IQ result on blocking push

parent 2e9de770
Pipeline #377 passed with stages
in 2 minutes and 2 seconds
......@@ -2090,8 +2090,11 @@ ConnectionHandlersBase, ConnectionJingle, ConnectionIBBytestream):
def _BlockingSetCB(self, con, iq_obj):
log.debug('_BlockingSetCB')
app.nec.push_incoming_event(BlockingEvent(None, conn=self,
stanza=iq_obj))
app.nec.push_incoming_event(
BlockingEvent(None, conn=self, stanza=iq_obj))
reply = nbxmpp.Iq(typ='result', attrs={'id': iq_obj.getID()},
to=iq_obj.getFrom(), frm=iq_obj.getTo(), xmlns=None)
self.connection.send(reply)
raise nbxmpp.NodeProcessed
def _nec_blocking(self, obj):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment