consolidate e2e status messages
This commit is contained in:
parent
5f2e4c818c
commit
9adc632d67
|
@ -1798,13 +1798,12 @@ class ChatControl(ChatControlBase):
|
||||||
'''print esession settings to textview'''
|
'''print esession settings to textview'''
|
||||||
e2e_is_active = bool(self.session) and self.session.enable_encryption
|
e2e_is_active = bool(self.session) and self.session.enable_encryption
|
||||||
if e2e_is_active:
|
if e2e_is_active:
|
||||||
msg = _('E2E encryption enabled')
|
msg = _('This session is encrypted')
|
||||||
ChatControlBase.print_conversation_line(self, msg, 'status', '', None)
|
|
||||||
|
|
||||||
if self.session.is_loggable():
|
if self.session.is_loggable():
|
||||||
msg = _('Session WILL be logged')
|
msg += _(' and WILL be logged')
|
||||||
else:
|
else:
|
||||||
msg = _('Session WILL NOT be logged')
|
msg += _(' and WILL NOT be logged')
|
||||||
|
|
||||||
ChatControlBase.print_conversation_line(self, msg, 'status', '', None)
|
ChatControlBase.print_conversation_line(self, msg, 'status', '', None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue