refactoring: rename SAT class to LiberviaBackend
This commit is contained in:
parent
d2685ba11b
commit
af1c203450
1 changed files with 20 additions and 20 deletions
|
|
@ -36,7 +36,7 @@ from libervia.backend.core.constants import Const as C
|
|||
from libervia.backend.core.core_types import MessageData, SatXMPPEntity
|
||||
from libervia.backend.core.i18n import _, D_
|
||||
from libervia.backend.core.log import getLogger, Logger
|
||||
from libervia.backend.core.sat_main import SAT
|
||||
from libervia.backend.core.sat_main import LiberviaBackend
|
||||
from libervia.backend.core.xmpp import SatXMPPClient
|
||||
from libervia.backend.memory import persistent
|
||||
from libervia.backend.plugins.plugin_misc_text_commands import TextCommands
|
||||
|
|
@ -803,7 +803,7 @@ async def send_trust_messages(
|
|||
await client.a_send(message_data["xml"])
|
||||
|
||||
|
||||
def make_session_manager(sat: SAT, profile: str) -> Type[omemo.SessionManager]:
|
||||
def make_session_manager(sat: LiberviaBackend, profile: str) -> Type[omemo.SessionManager]:
|
||||
"""
|
||||
@param sat: The SAT instance.
|
||||
@param profile: The profile.
|
||||
|
|
@ -1389,7 +1389,7 @@ def make_session_manager(sat: SAT, profile: str) -> Type[omemo.SessionManager]:
|
|||
|
||||
|
||||
async def prepare_for_profile(
|
||||
sat: SAT,
|
||||
sat: LiberviaBackend,
|
||||
profile: str,
|
||||
initial_own_label: Optional[str],
|
||||
signed_pre_key_rotation_period: int = 7 * 24 * 60 * 60,
|
||||
|
|
@ -1540,7 +1540,7 @@ class OMEMO:
|
|||
custom_policies={}
|
||||
)
|
||||
|
||||
def __init__(self, sat: SAT) -> None:
|
||||
def __init__(self, sat: LiberviaBackend) -> None:
|
||||
"""
|
||||
@param sat: The SAT instance.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue