diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-04-04 17:51:35 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-05-20 16:55:28 +0200 |
| commit | bab7db9d579e52d7e6e27330042797fc9829c485 (patch) | |
| tree | 9926d5a45fd83a78ae70243dd234dd0bcadcb956 /src/client/QXmppClient.h | |
| parent | 9073ea57506e4081881355a508a29ea5325b9e8b (diff) | |
| download | qxmpp-bab7db9d579e52d7e6e27330042797fc9829c485.tar.gz | |
Client: Add reply() picking the encryption based on the received stanza
Currently does not support multiple encryptions, so the implementation
is rather simple.
Diffstat (limited to 'src/client/QXmppClient.h')
| -rw-r--r-- | src/client/QXmppClient.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/QXmppClient.h b/src/client/QXmppClient.h index 9309d1e8..08f2f7cb 100644 --- a/src/client/QXmppClient.h +++ b/src/client/QXmppClient.h @@ -217,6 +217,7 @@ public: QFuture<QXmpp::SendResult> send(QXmppStanza &&); QFuture<QXmpp::SendResult> sendUnencrypted(QXmppStanza &&); + QFuture<QXmpp::SendResult> reply(QXmppStanza &&stanza, const std::optional<QXmppE2eeMetadata> &e2eeMetadata); QFuture<IqResult> sendIq(QXmppIq &&); QFuture<IqResult> sendSensitiveIq(QXmppIq &&); QFuture<EmptyResult> sendGenericIq(QXmppIq &&); |
