xep_0380: Remove remove_handler call in plugin_end

Remove probable copy paste fail in EME plugin_end handler.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-02-23 12:36:40 +00:00
parent 05d76e4b1d
commit e9f2f503b8
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -49,9 +49,6 @@ class XEP_0380(BasePlugin):
register_stanza_plugin(Message, Encryption) register_stanza_plugin(Message, Encryption)
def plugin_end(self):
self.xmpp.remove_handler('Chat State')
def session_bind(self, jid): def session_bind(self, jid):
self.xmpp.plugin['xep_0030'].add_feature(Encryption.namespace) self.xmpp.plugin['xep_0030'].add_feature(Encryption.namespace)