Philipp Hörist pushed to branch master at gajim / gajim

Commits:

2 changed files:

Changes:

  • gajim/conversation_textview.py
    ... ... @@ -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,
    

  • gajim/gtk/history.py
    ... ... @@ -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 = ''