XEP-0444: fix a mistake in plugin_end

This commit is contained in:
mathieui 2020-12-06 18:57:50 +01:00
parent 1836b2b887
commit c89a21463f

View file

@ -38,7 +38,7 @@ class XEP_0444(BasePlugin):
def plugin_end(self):
self.xmpp.remove_handler('Reaction received')
self.xmpp['xep_0030'].del_feature(stanza.NS)
self.xmpp['xep_0030'].del_feature(feature=stanza.NS)
def _handle_reactions(self, message: Message):
self.xmpp.event('reactions', message)