comparison libervia/backend/core/core_types.py @ 4131:c38c33a44171

core (types): add `is_admin` to `SatXMPPEntity`
author Goffi <goffi@goffi.org>
date Wed, 18 Oct 2023 15:33:24 +0200
parents 4b842c1fb686
children 0d7bb4df2343
comparison
equal deleted inserted replaced
4130:02f0adc745c6 4131:c38c33a44171
27 27
28 class SatXMPPEntity: 28 class SatXMPPEntity:
29 29
30 profile: str 30 profile: str
31 jid: t_jid.JID 31 jid: t_jid.JID
32 is_admin: bool
32 is_component: bool 33 is_component: bool
33 server_jid: t_jid.JID 34 server_jid: t_jid.JID
34 IQ: Callable[[Optional[str], Optional[int]], xmlstream.IQ] 35 IQ: Callable[[Optional[str], Optional[int]], xmlstream.IQ]
35 36
36 EncryptionPlugin = namedtuple("EncryptionPlugin", ("instance", 37 EncryptionPlugin = namedtuple("EncryptionPlugin", ("instance",