Merge branch 'fix-0353' into 'master'

XEP-0353: Use the correct callback for <proceed/>

See merge request poezio/slixmpp!160
This commit is contained in:
Link Mauve 2021-04-24 20:25:34 +02:00
commit f058e62680

View file

@ -44,7 +44,7 @@ class XEP_0353(BasePlugin):
self.xmpp.register_handler( self.xmpp.register_handler(
Callback('Proceed', Callback('Proceed',
StanzaPath('message/jingle_proceed'), StanzaPath('message/jingle_proceed'),
self._handle_accept)) self._handle_proceed))
self.xmpp.register_handler( self.xmpp.register_handler(
Callback('Rejecting Intent to Start a Session', Callback('Rejecting Intent to Start a Session',
StanzaPath('message/jingle_reject'), StanzaPath('message/jingle_reject'),