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

Settings: Fix deleting contact and group chat settings

parent 841556be
......@@ -661,7 +661,7 @@ class _Settings:
if value is None:
try:
del self._account_settings[account]['group_chat'][setting]
del self._account_settings[account]['group_chat'][jid][setting]
except KeyError:
pass
......@@ -736,7 +736,7 @@ class _Settings:
if value is None:
try:
del self._account_settings[account]['contact'][setting]
del self._account_settings[account]['contact'][jid][setting]
except KeyError:
pass
......
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