diff cagou/plugins/plugin_wid_chat.py @ 244:5bd94bc08f5c

plugin chat: fixed OTR State filtering + removed some legacy code
author Goffi <goffi@goffi.org>
date Thu, 03 Jan 2019 20:38:46 +0100
parents c2503168fab7
children ff1efdeff53f
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.py	Thu Jan 03 20:37:55 2019 +0100
+++ b/cagou/plugins/plugin_wid_chat.py	Thu Jan 03 20:38:46 2019 +0100
@@ -48,7 +48,8 @@
     "icon_symbol": u"chat",
 }
 
-# following const are here temporary, they should move to quick frontend
+# FIXME: OTR specific code is legacy, and only used nowadays for lock color
+# we can probably get rid of them.
 OTR_STATE_UNTRUSTED = 'untrusted'
 OTR_STATE_TRUSTED = 'trusted'
 OTR_STATE_TRUST = (OTR_STATE_UNTRUSTED, OTR_STATE_TRUSTED)