slixmpp/plugins/xep_0353/jingle_message.py aktualisiert
This commit is contained in:
parent
7d7fccdb65
commit
2b02f5ebe4
@ -1,4 +1,3 @@
|
||||
|
||||
# slixmpp: The Slick XMPP Library
|
||||
# Copyright (C) 2020 Emmanuel Gil Peyrot
|
||||
# This file is part of slixmpp.
|
||||
@ -56,10 +55,10 @@ class XEP_0353(BasePlugin):
|
||||
self._handle_reject))
|
||||
|
||||
def session_bind(self, jid):
|
||||
self.xmpp.plugin['xep_030'].add_feature(stanza.JingleMessage.namespace)
|
||||
self.xmpp.plugin['xep_0030'].add_feature(stanza.JingleMessage.namespace)
|
||||
|
||||
def plugin_end(self):
|
||||
self.xmpp.plugin['xep_030'].del_feature(feature=stanza.JingleMessage.namespace)
|
||||
self.xmpp.plugin['xep_0030'].del_feature(feature=stanza.JingleMessage.namespace)
|
||||
|
||||
def _handle_propose(self, message):
|
||||
self.xmpp.event('jingle_message_propose', message)
|
||||
|
Loading…
x
Reference in New Issue
Block a user