Philipp Hörist pushed to branch master at gajim / gajim
Commits:
1483020c by Philipp Hörist at 2018-09-22T06:07:46Z
Dont show encryption status for status messages
Fixes #9353
- - - - -
2 changed files:
- gajim/conversation_textview.py
- gajim/gtk/history.py
Changes:
=====================================
gajim/conversation_textview.py
=====================================
@@ -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,
=====================================
gajim/gtk/history.py
=====================================
@@ -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 = ''
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/1483020cf48e60dd331025bd59d178581bc561af
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/1483020cf48e60dd331025bd59d178581bc561af
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits