disable RST generator only for GPG encrypted messages, not E2E
This commit is contained in:
parent
f991a75e43
commit
cac215909b
|
@ -1989,8 +1989,8 @@ class ChatControl(ChatControlBase):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue