QXmpp::Messages::ConfirmDelivery Struct
struct QXmpp::Messages::ConfirmDelivery| Header: | #include <QXmppMessages.h> |
Detailed Description
Asynchronous hook run for each outgoing message right after it has been written to the stream, also before the server has acknowledged it, as a confirmation may arrive earlier.
Handlers wait for a confirmation of the delivery and set the result: an error makes sending fail, QXmpp::SendSuccess with acknowledged set confirms the delivery. Without confirmation, the result is the one of the stream (see QXmppClient::send()). If the stream reports an error, sending fails without waiting for the handlers.
QXmppMucManagerV2 waits for the reflection of messages sent to joined rooms.