summaryrefslogtreecommitdiff
path: root/plugins/otr.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/otr.py')
-rw-r--r--plugins/otr.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/otr.py b/plugins/otr.py
index c0cd8637..08f7fed6 100644
--- a/plugins/otr.py
+++ b/plugins/otr.py
@@ -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')