Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
1483020c
by Philipp Hörist at 2018-09-22T06:07:46Z
2 changed files:
Changes:
| ... | ... | @@ -1153,7 +1153,8 @@ class ConversationTextview(GObject.GObject): |
| 1153 | 1153 |
direction_mark = i18n.direction_mark
|
| 1154 | 1154 |
|
| 1155 | 1155 |
# print the encryption icon
|
| 1156 |
- self.print_encryption_status(iter_, additional_data)
|
|
| 1156 |
+ if kind in ('incoming', 'outgoing'):
|
|
| 1157 |
+ self.print_encryption_status(iter_, additional_data)
|
|
| 1157 | 1158 |
|
| 1158 | 1159 |
# print the time stamp
|
| 1159 | 1160 |
self.print_time(text, kind, tim, simple, direction_mark,
|
| ... | ... | @@ -535,8 +535,10 @@ class HistoryWindow: |
| 535 | 535 |
end_iter, tim + '\n', 'time_sometimes')
|
| 536 | 536 |
|
| 537 | 537 |
# print the encryption icon
|
| 538 |
- self.history_textview.print_encryption_status(
|
|
| 539 |
- end_iter, additional_data)
|
|
| 538 |
+ if kind in (KindConstant.CHAT_MSG_SENT,
|
|
| 539 |
+ KindConstant.CHAT_MSG_RECV):
|
|
| 540 |
+ self.history_textview.print_encryption_status(
|
|
| 541 |
+ end_iter, additional_data)
|
|
| 540 | 542 |
|
| 541 | 543 |
tag_name = ''
|
| 542 | 544 |
tag_msg = ''
|