misc
– Miscellaneous XSOs¶
This subpackage bundles XSO definitions for several XEPs. They do not get their own subpackage because they often only define one or two XSOs without any logic involved. The XSOs are often intended for re-use by other protocols.
Delayed Delivery (XEP-0203)¶
-
class
aioxmpp.misc.
Delay
[source]¶ A marker indicating delayed delivery of a stanza.
-
from_
¶ The address as
aioxmpp.JID
of the entity where the stanza was delayed. May beNone
.
-
stamp
¶ The timestamp (as
datetime.datetime
) at which the stanza was originally sent or intended to be sent.
Warning
Please take the security considerations of XEP-0203 into account.
-
Stanza Forwarding (XEP-0297)¶
-
class
aioxmpp.misc.
Forwarded
[source]¶ Wrap a stanza for forwarding.
-
delay
¶ If not
None
, this is aaioxmpp.misc.Delay
XSO which indicates the timestamp at which the wrapped stanza was originally sent.
-
stanza
¶ The forwarded stanza.
Warning
Please take the security considerations of XEP-0297 and the protocol using this XSO into account.
-
Pre-Authenticated Roster Subcription (XEP-0379)¶
-
class
aioxmpp.misc.
Preauth
(*args, **kwargs)[source]¶ The preauth element for Pre-Authenticated Roster Subcription.
-
token
¶ The pre-auth token associated with this subscription request.
-
-
aioxmpp.Presence.
xep0379_preauth
¶ The pre-auth element associate with a subscription request.