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:
|
else:
|
||||||
kind = 'outgoing'
|
kind = 'outgoing'
|
||||||
name = gajim.nicks[self.account]
|
name = gajim.nicks[self.account]
|
||||||
if not xhtml and not encrypted and gajim.config.get(
|
if not xhtml and not (encrypted and self.gpg_is_active) and \
|
||||||
'rst_formatting_outgoing_messages'):
|
gajim.config.get('rst_formatting_outgoing_messages'):
|
||||||
from common.rst_xhtml_generator import create_xhtml
|
from common.rst_xhtml_generator import create_xhtml
|
||||||
xhtml = create_xhtml(text)
|
xhtml = create_xhtml(text)
|
||||||
if xhtml:
|
if xhtml:
|
||||||
|
|
Loading…
Reference in New Issue