aioxmpp
aioxmpp copied to clipboard
[Modern IM] Add a method to recover a message tracker
When a Carbon Copy of a sent message is received, a client may wish to instantiate tracking for that stanza to be able to observe its delivery status. This stanza is not going to be sent over the stream, so it needs a bit of special treatment.
Another use-case with similar requirements is when a client starts up and wants to re-instantiate trackers of not-too-old stanzas which were sent in a previous session.
The first part is solved: the Conversation API now adds a tracker (if known) to the on_message event.