aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/QXmppStream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/QXmppStream.cpp b/source/QXmppStream.cpp
index bbe3e35c..744e05f8 100644
--- a/source/QXmppStream.cpp
+++ b/source/QXmppStream.cpp
@@ -589,7 +589,8 @@ void QXmppStream::parser(const QByteArray& data)
discoIq.parse(nodeRecv);
if (discoIq.type() == QXmppIq::Get &&
- discoIq.queryType() == QXmppDiscoveryIq::InfoQuery)
+ discoIq.queryType() == QXmppDiscoveryIq::InfoQuery &&
+ discoIq.queryNode().isEmpty())
{
// respond to info query
QXmppInformationRequestResult qxmppFeatures;