changeset 340:9688e5e9881e

chat: removed some old code
author Goffi <goffi@goffi.org>
date Mon, 30 Dec 2019 21:03:32 +0100
parents 63cdabdd032e
children 89b17a841c2f
files cagou/plugins/plugin_wid_chat.py
diffstat 1 files changed, 0 insertions(+), 33 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.py	Mon Dec 30 21:03:21 2019 +0100
+++ b/cagou/plugins/plugin_wid_chat.py	Mon Dec 30 21:03:32 2019 +0100
@@ -375,39 +375,6 @@
             callback=self.encryptionTrustUIGetCb,
             errback=self.encryptionTrustUIGetEb)
 
-    def otr_start(self):
-        self.dismiss()
-        G.host.launchMenu(
-            C.MENU_SINGLE,
-            ("otr", "start/refresh"),
-            {'jid': str(self.chat.target)},
-            None,
-            C.NO_SECURITY_LIMIT,
-            self.chat.profile
-            )
-
-    def otr_end(self):
-        self.dismiss()
-        G.host.launchMenu(
-            C.MENU_SINGLE,
-            ("otr", "end session"),
-            {'jid': str(self.chat.target)},
-            None,
-            C.NO_SECURITY_LIMIT,
-            self.chat.profile
-            )
-
-    def otr_authenticate(self):
-        self.dismiss()
-        G.host.launchMenu(
-            C.MENU_SINGLE,
-            ("otr", "authenticate"),
-            {'jid': str(self.chat.target)},
-            None,
-            C.NO_SECURITY_LIMIT,
-            self.chat.profile
-            )
-
 
 class Chat(quick_chat.QuickChat, cagou_widget.CagouWidget):
     message_input = properties.ObjectProperty()