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

Commits:

1 changed file:

Changes:

  • gajim/common/connection.py
    ... ... @@ -646,12 +646,12 @@ class Connection(CommonConnection, ConnectionHandlers):
    646 646
         def set_oldst(self): # Set old state
    
    647 647
             if self.old_show:
    
    648 648
                 self.connected = app.SHOW_LIST.index(self.old_show)
    
    649
    -            app.nec.push_incoming_event(OurShowEvent(None, conn=self,
    
    650
    -                                           show=self.connected))
    
    649
    +            app.nec.push_incoming_event(OurShowEvent(
    
    650
    +                None, conn=self, show=app.SHOW_LIST[self.old_show]))
    
    651 651
             else: # we default to online
    
    652 652
                 self.connected = 2
    
    653
    -            app.nec.push_incoming_event(OurShowEvent(None, conn=self,
    
    654
    -                                    show=app.SHOW_LIST[self.connected]))
    
    653
    +            app.nec.push_incoming_event(OurShowEvent(
    
    654
    +                None, conn=self, show=app.SHOW_LIST[self.connected]))
    
    655 655
     
    
    656 656
         def disconnectedReconnCB(self):
    
    657 657
             """