QXmpp::Iq::Context Class
class QXmpp::Iq::Context| Header: | #include <QXmppIqHandling.h> |
| Since: | QXmpp 1.18 |
Public Functions
| const std::optional<QXmppE2eeMetadata> & | e2eeMetadata() const |
| const QXmpp::Jid & | from() const |
| bool | isEncrypted() const |
Detailed Description
Information about an incoming IQ request besides its payload.
Member Function Documentation
const std::optional<QXmppE2eeMetadata> &Context::e2eeMetadata() const
Returns the end-to-end encryption metadata of the request, if it was end-to-end encrypted. The reply is end-to-end encrypted the same way.
const QXmpp::Jid &Context::from() const
Returns the JID of the sender of the request, the own bare JID for requests without sender, which are from the own account.
bool Context::isEncrypted() const
Returns whether the request was end-to-end encrypted.