# HG changeset patch # User Goffi # Date 1410204198 -7200 # Node ID eb1144a22e20ca070d6bedfc99fc542cd036d78e # Parent 9cc858acae910daa77a1d0b9b1f39e2513aedfc2 plugin OTR: added a warning to tell that the history is not logged anymore and advanced feature are disabled when using OTR diff -r 9cc858acae91 -r eb1144a22e20 src/plugins/plugin_sec_otr.py --- 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: