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

Commits:

1 changed file:

Changes:

  • gajim/chat_control_base.py
    ... ... @@ -1233,11 +1233,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
    1233 1233
             if self.parent_win.get_active_control() == self and \
    
    1234 1234
             self.parent_win.window.is_active():
    
    1235 1235
                 # we are at the end
    
    1236
    -            if self.type_id == message_control.TYPE_GC:
    
    1237
    -                if not app.events.remove_events(self.account, jid,
    
    1238
    -                types=types_list):
    
    1239
    -                    self.redraw_after_event_removed(jid)
    
    1240
    -            elif not app.events.remove_events(
    
    1236
    +            if not app.events.remove_events(
    
    1241 1237
                         self.account, jid, types=types_list):
    
    1242 1238
                     # There were events to remove
    
    1243 1239
                     self.redraw_after_event_removed(jid)