diff src/plugins/plugin_sec_otr.py @ 1187:eb1144a22e20

plugin OTR: added a warning to tell that the history is not logged anymore and advanced feature are disabled when using OTR
author Goffi <goffi@goffi.org>
date Mon, 08 Sep 2014 21:23:18 +0200
parents bc811915a96a
children 8b891f9be183
line wrap: on
line diff
--- a/src/plugins/plugin_sec_otr.py	Mon Sep 08 19:19:32 2014 +0200
+++ b/src/plugins/plugin_sec_otr.py	Mon Sep 08 21:23:18 2014 +0200
@@ -98,7 +98,7 @@
             if old_state == potr.context.STATE_ENCRYPTED:
                 feedback = _(u"%(trusted)s OTR conversation with %(other_jid)s REFRESHED") % {'trusted': trusted_str, 'other_jid': self.peer.full()}
             else:
-                feedback = _(u"%(trusted)s Encrypted OTR conversation started with %(other_jid)s") % {'trusted': trusted_str, 'other_jid': self.peer.full()}
+                feedback = _(u"%(trusted)s Encrypted OTR conversation started with %(other_jid)s\n/!\\ Your history is not logged anymore, and most of advanced features are disabled !") % {'trusted': trusted_str, 'other_jid': self.peer.full()}
         elif state == potr.context.STATE_FINISHED:
             feedback = _(u"OTR conversation with %(other_jid)s is FINISHED") % {'other_jid': self.peer.full()}
         else: