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,6 +1153,7 @@ class ConversationTextview(GObject.GObject):
direction_mark = i18n.direction_mark direction_mark = i18n.direction_mark
# print the encryption icon # print the encryption icon
if kind in ('incoming', 'outgoing'):
self.print_encryption_status(iter_, additional_data) self.print_encryption_status(iter_, additional_data)
# print the time stamp # print the time stamp

View File

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