Commit ba321d49 authored by Philipp Hörist's avatar Philipp Hörist

Settings: Fix app setting migration

parent edb93cf4
Pipeline #6330 passed with stages
in 3 minutes and 58 seconds
......@@ -284,12 +284,12 @@ class _Settings:
# Migrate deprecated settings
value = app_settings.pop('send_chatstate_muc_default', None)
if value is not None:
for account in self._account_settings['account']:
for account in self._account_settings:
self._account_settings[account]['account']['gc_send_chatstate_default'] = value
value = app_settings.pop('send_chatstate_default', None)
if value is not None:
for account in self._account_settings['account']:
for account in self._account_settings:
self._account_settings[account]['account']['send_chatstate_default'] = value
value = app_settings.pop('print_join_left_default', None)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment