diff --git a/gajim/roster_window.py b/gajim/roster_window.py index d5fe92836..d94c360d1 100644 --- a/gajim/roster_window.py +++ b/gajim/roster_window.py @@ -2501,8 +2501,11 @@ class RosterWindow: self.send_pep(acct, pep_dict) def on_continue2(message, pep_dict): + if 'file_transfers' not in app.interface.instances: + on_continue3(message, pep_dict) + return # check if there is an active file transfer - from gajim.common.protocol.bytestream import (is_transfer_active) + from gajim.common.protocol.bytestream import is_transfer_active files_props = app.interface.instances['file_transfers'].\ files_props transfer_active = False