From 838deb445b615aa06829164deb926ad68a42ae30 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Wed, 28 Dec 2022 21:58:25 +0100 Subject: Stream: Add IQ response sender check Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510. --- src/client/QXmppOutgoingClient.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client/QXmppOutgoingClient.h') diff --git a/src/client/QXmppOutgoingClient.h b/src/client/QXmppOutgoingClient.h index 57e3477a..6c72d076 100644 --- a/src/client/QXmppOutgoingClient.h +++ b/src/client/QXmppOutgoingClient.h @@ -38,6 +38,7 @@ public: bool isClientStateIndicationEnabled() const; bool isStreamManagementEnabled() const; bool isStreamResumed() const; + QFuture sendIq(QXmppIq &&); /// Returns the used socket QSslSocket *socket() const { return QXmppStream::socket(); }; -- cgit v1.2.3