From c00daf4a68d5560adf9998ae50f699d31a0fd0fe Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 8 Sep 2014 21:23:18 +0200 Subject: [PATCH] plugin OTR: added a warning to tell that the history is not logged anymore and advanced feature are disabled when using OTR --- src/plugins/plugin_sec_otr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_sec_otr.py b/src/plugins/plugin_sec_otr.py index c6cabfb9..2166c3e5 100644 --- a/src/plugins/plugin_sec_otr.py +++ b/src/plugins/plugin_sec_otr.py @@ -98,7 +98,7 @@ class Context(potr.context.Context): 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: