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

Commits:

1 changed file:

Changes:

  • gajim/roster_window.py
    ... ... @@ -2459,8 +2459,11 @@ class RosterWindow:
    2459 2459
                     self.send_pep(acct, pep_dict)
    
    2460 2460
     
    
    2461 2461
             def on_continue2(message, pep_dict):
    
    2462
    +            if 'file_transfers' not in app.interface.instances:
    
    2463
    +                on_continue3(message, pep_dict)
    
    2464
    +                return
    
    2462 2465
                 # check if there is an active file transfer
    
    2463
    -            from gajim.common.protocol.bytestream import (is_transfer_active)
    
    2466
    +            from gajim.common.protocol.bytestream import is_transfer_active
    
    2464 2467
                 files_props = app.interface.instances['file_transfers'].\
    
    2465 2468
                     files_props
    
    2466 2469
                 transfer_active = False