Commit f782516e authored by mathieui's avatar mathieui

End all otr conversations when the plugins is unloader (or poezio exits)

parent 2ec83f34
......@@ -410,6 +410,9 @@ class Plugin(BasePlugin):
completion=self.completion_otr)
def cleanup(self):
for context in self.contexts.values():
context.disconnect()
ConversationTab.remove_information_element('otr')
PrivateTab.remove_information_element('otr')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment