diff --git a/gajim/common/logger.py b/gajim/common/logger.py index 27036b0ce766806ad1c9196a55049bc8bd9fb96b..798405093a939cc344a1b33be334c803d7686c47 100644 --- a/gajim/common/logger.py +++ b/gajim/common/logger.py @@ -916,7 +916,9 @@ class Logger: app.config.set_per('accounts', account_name, 'roster_version', '') account_jid = app.get_jid_from_account(account_name) - account_jid_id = self.get_jid_id(account_jid) + # Execute get_jid_id() because this ensures on new accounts that the + # jid_id will be created + self.get_jid_id(account_jid, type_=JIDConstant.NORMAL_TYPE) # Delete old roster self.remove_roster(account_jid)