# HG changeset patch # User Goffi # Date 1577736212 -3600 # Node ID 9688e5e9881e1a5e41995e86a3b0fc583a352cbc # Parent 63cdabdd032eefc0f8f49369af4f016fa06cd0c4 chat: removed some old code diff -r 63cdabdd032e -r 9688e5e9881e cagou/plugins/plugin_wid_chat.py --- 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()