changeset d2d1ac0391f6 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=d2d1ac0391f6
description: disable RST generator only for GPG encrypted messages, not E2E
diffstat:
src/chat_control.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 0f119c9133cb -r d2d1ac0391f6 src/chat_control.py
--- a/src/chat_control.py Sun Aug 30 10:51:34 2009 +0200
+++ b/src/chat_control.py Sun Aug 30 11:58:41 2009 +0200
@@ -1989,8 +1989,8 @@
else:
kind = 'outgoing'
name = gajim.nicks[self.account]
- if not xhtml and not encrypted and gajim.config.get(
- 'rst_formatting_outgoing_messages'):
+ if not xhtml and not (encrypted and self.gpg_is_active) and \
+ gajim.config.get('rst_formatting_outgoing_messages'):
from common.rst_xhtml_generator import create_xhtml
xhtml = create_xhtml(text)
if xhtml: