diff --git a/src/roster_window.py b/src/roster_window.py index 245f0f6cd..61d9a25b0 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2655,7 +2655,8 @@ class RosterWindow: gajim.contacts.get_contact_with_highest_priority( account, jid) if not contact: - continue + contact = self.add_to_not_in_the_roster(account, + jid) gajim.interface.on_open_chat_window(None, contact, account) gajim.config.set_per('accounts', account,