From 084eb01fb395488a0a3aee799be2b72ce11aa220 Mon Sep 17 00:00:00 2001 From: Niels Ole Salscheider Date: Sun, 12 Feb 2017 17:18:06 +0100 Subject: Implement XEP-0198: Stream Management (client only) (#99) * Some features can be available with different namespaces (e.g. SM) * Provide static functions to convert between strings and stream errors Stream management will reuse this for . * [travis] test builds using clang * Implement XEP-0198: Stream Management (client only) * QXmppOutgoingClient: Move private methods to QXmppOutgoingClientPrivate --- src/base/QXmppPresence.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/base/QXmppPresence.cpp') diff --git a/src/base/QXmppPresence.cpp b/src/base/QXmppPresence.cpp index 07d0aa9e..259a2ea5 100644 --- a/src/base/QXmppPresence.cpp +++ b/src/base/QXmppPresence.cpp @@ -496,3 +496,11 @@ void QXmppPresence::setMucSupported(bool supported) { d->mucSupported = supported; } + +/// Indicates if the QXmppStanza is a stanza in the XMPP sence (i. e. a message, +/// iq or presence) + +bool QXmppPresence::isXmppStanza() const +{ + return true; +} -- cgit v1.2.3