Philipp Hörist pushed to branch master at gajim / gajim
Commits: f22fa200 by Philipp Hörist at 2017-10-15T15:53:28+02:00 Return IQ result on blocking push
- - - - -
1 changed file:
- gajim/common/connection_handlers.py
Changes:
===================================== gajim/common/connection_handlers.py ===================================== --- a/gajim/common/connection_handlers.py +++ b/gajim/common/connection_handlers.py @@ -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):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f22fa200ea9eca5bf842ec0123ef0c1c349...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f22fa200ea9eca5bf842ec0123ef0c1c349... You're receiving this email because of your account on dev.gajim.org.