diff libervia/backend/plugins/plugin_xep_0420.py @ 4072:040095a5dc7f

refactoring: rename `SAT` class to `LiberviaBackend`
author Goffi <goffi@goffi.org>
date Fri, 02 Jun 2023 11:55:48 +0200
parents 4b842c1fb686
children 7c5654c54fed
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0420.py	Fri Jun 02 11:49:51 2023 +0200
+++ b/libervia/backend/plugins/plugin_xep_0420.py	Fri Jun 02 11:55:48 2023 +0200
@@ -30,7 +30,7 @@
 from libervia.backend.core.constants import Const as C
 from libervia.backend.core.i18n import D_
 from libervia.backend.core.log import Logger, getLogger
-from libervia.backend.core.sat_main import SAT
+from libervia.backend.core.sat_main import LiberviaBackend
 from libervia.backend.tools.xml_tools import ElementParser
 from libervia.backend.plugins.plugin_xep_0033 import NS_ADDRESS
 from libervia.backend.plugins.plugin_xep_0082 import XEP_0082
@@ -251,7 +251,7 @@
     # potential future use.
     MUST_BE_PLAINTEXT_ELEMENTS: Set[Tuple[str, str]] = set()
 
-    def __init__(self, sat: SAT) -> None:
+    def __init__(self, sat: LiberviaBackend) -> None:
         """
         @param sat: The SAT instance.
         """