Skip to content
Snippets Groups Projects
Commit 0c8d88d3 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Ensure that jid_id is created on new accounts

parent 3bf3ddeb
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment