core (plugins): implementation of XEP-0215 "External Service Discovery":
rel 418
This commit is contained in:
parent
ef70ccaedb
commit
9b47e8c890
1 changed files with 334 additions and 2 deletions
|
|
@ -17,9 +17,11 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from collections import namedtuple
|
||||
from typing import Dict
|
||||
from typing import Dict, Callable, Optional
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
from twisted.words.protocols.jabber import jid as t_jid
|
||||
from twisted.words.protocols.jabber import xmlstream
|
||||
from twisted.words.xish import domish
|
||||
|
||||
|
||||
|
|
@ -27,7 +29,8 @@ class SatXMPPEntity:
|
|||
|
||||
jid: t_jid.JID
|
||||
is_component: bool
|
||||
|
||||
server_jid: t_jid.JID
|
||||
IQ: Callable[[Optional[str], Optional[int]], xmlstream.IQ]
|
||||
|
||||
EncryptionPlugin = namedtuple("EncryptionPlugin", ("instance",
|
||||
"name",
|
||||
|
|
|
|||
Loading…
Reference in a new issue