Skip to content
Snippets Groups Projects
Commit edaa4988 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Dont show encryption status for status messages

Fixes #9353
parent 458b1804
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -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 = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment