diff options
Diffstat (limited to 'src/QXmppOutgoingClient.cpp')
| -rw-r--r-- | src/QXmppOutgoingClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QXmppOutgoingClient.cpp b/src/QXmppOutgoingClient.cpp index 96c20292..1a52be02 100644 --- a/src/QXmppOutgoingClient.cpp +++ b/src/QXmppOutgoingClient.cpp @@ -266,7 +266,7 @@ void QXmppOutgoingClient::handleStanza(const QDomElement &nodeRecv) emit elementReceived(nodeRecv, handled); if (handled) return; - + if(QXmppStreamFeatures::isStreamFeatures(nodeRecv)) { QXmppStreamFeatures features; @@ -295,7 +295,7 @@ void QXmppOutgoingClient::handleStanza(const QDomElement &nodeRecv) if (socket()->supportsSsl() && localSecurity != QXmppConfiguration::TLSDisabled && - remoteSecurity != QXmppStreamFeatures::Disabled) + remoteSecurity != QXmppStreamFeatures::Disabled) { // enable TLS as it is support by both parties sendData("<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"); |
