changeset 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 (2014-09-08)
parents 9cc858acae91
children bf2927e6a0f5
files src/plugins/plugin_sec_otr.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: