Dont show encryption status for status messages

Fixes #9353
This commit is contained in:
Philipp Hörist 2018-09-22 08:07:46 +02:00
parent 458b1804aa
commit edaa4988f0
2 changed files with 6 additions and 3 deletions

View File

@ -1153,7 +1153,8 @@ class ConversationTextview(GObject.GObject):
direction_mark = i18n.direction_mark
# print the encryption icon
self.print_encryption_status(iter_, additional_data)
if kind in ('incoming', 'outgoing'):
self.print_encryption_status(iter_, additional_data)
# print the time stamp
self.print_time(text, kind, tim, simple, direction_mark,

View File

@ -535,8 +535,10 @@ class HistoryWindow:
end_iter, tim + '\n', 'time_sometimes')
# print the encryption icon
self.history_textview.print_encryption_status(
end_iter, additional_data)
if kind in (KindConstant.CHAT_MSG_SENT,
KindConstant.CHAT_MSG_RECV):
self.history_textview.print_encryption_status(
end_iter, additional_data)
tag_name = ''
tag_msg = ''