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¶
A marker indicating delayed delivery of a stanza.
- from_¶
The address as aioxmpp.JID of the entity where the stanza was delayed. May be None.
- 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¶
Wrap a stanza for forwarding.
- delay¶
If not None, this is a aioxmpp.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.