Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
0c8d88d3
by Philipp Hörist at 2017-11-02T16:00:18+01:00
1 changed file:
Changes:
| ... | ... | @@ -916,7 +916,9 @@ class Logger: |
| 916 | 916 |
app.config.set_per('accounts', account_name, 'roster_version', '')
|
| 917 | 917 |
|
| 918 | 918 |
account_jid = app.get_jid_from_account(account_name)
|
| 919 |
- account_jid_id = self.get_jid_id(account_jid)
|
|
| 919 |
+ # Execute get_jid_id() because this ensures on new accounts that the
|
|
| 920 |
+ # jid_id will be created
|
|
| 921 |
+ self.get_jid_id(account_jid, type_=JIDConstant.NORMAL_TYPE)
|
|
| 920 | 922 |
|
| 921 | 923 |
# Delete old roster
|
| 922 | 924 |
self.remove_roster(account_jid)
|