Skip to content
Snippets Groups Projects
Commit 4587ceae authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

chore: Settings: Use correct type for set_contact_settings

parent f77737b0
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,6 @@
from typing import Union
from typing import overload
from functools import partial
import cairo
from nbxmpp.const import Affiliation
from nbxmpp.const import Chatstate
......
......@@ -1029,7 +1029,7 @@ def set_contact_setting(self,
def set_contact_settings(self,
setting: str,
value: AllContactSettings) -> None:
value: SETTING_TYPE) -> None:
for account, acc_settings in self._account_settings.items():
for jid in acc_settings['contact']:
......
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