aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppIq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppIq.cpp')
-rw-r--r--src/base/QXmppIq.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/QXmppIq.cpp b/src/base/QXmppIq.cpp
index dee0cb83..3e579726 100644
--- a/src/base/QXmppIq.cpp
+++ b/src/base/QXmppIq.cpp
@@ -91,6 +91,14 @@ void QXmppIq::setType(QXmppIq::Type type)
d->type = type;
}
+/// Indicates if the QXmppStanza is a stanza in the XMPP sence (i. e. a message,
+/// iq or presence)
+
+bool QXmppIq::isXmppStanza() const
+{
+ return true;
+}
+
/// \cond
void QXmppIq::parse(const QDomElement &element)
{