core (types): Add messageProt to SatXMPPEntity
This commit is contained in:
parent
399802455f
commit
eda078197a
1 changed files with 6 additions and 1 deletions
|
|
@ -32,7 +32,11 @@ from libervia.backend.core import exceptions
|
|||
from libervia.backend.models.core import MessageData
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from libervia.backend.core.xmpp import LiberviaRosterProtocol, SatDiscoProtocol
|
||||
from libervia.backend.core.xmpp import (
|
||||
LiberviaRosterProtocol,
|
||||
SatDiscoProtocol,
|
||||
SatMessageProtocol,
|
||||
)
|
||||
from libervia.backend.models.tor import TorMode
|
||||
from treq.client import HTTPClient
|
||||
from txtorcon import Tor
|
||||
|
|
@ -88,6 +92,7 @@ class SatXMPPEntity(ABC):
|
|||
port: int
|
||||
disco: "SatDiscoProtocol"
|
||||
discoHandler: disco.DiscoHandler
|
||||
messageProt: "SatMessageProtocol"
|
||||
identities: list[disco.DiscoIdentity]
|
||||
xmlstream: mod_xmlstream.XmlStream
|
||||
tor: "Tor | None" = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue