QXmpp::Messages::Prepare Struct
struct QXmpp::Messages::Prepare| Header: | #include <QXmppMessages.h> |
Detailed Description
Hook run synchronously for each outgoing message after the encryption has been selected. Handlers can modify the message. Handlers returning QXmpp::HookResult::Stop cancel sending, which then fails with the error set via QXmpp::Messages::OutgoingMessage::setError() or else with QXmpp::SendError::Cancelled.