From 524a02debffd9552f0928b5804d7b51b045aa9d2 Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Sun, 25 Sep 2022 14:12:51 +0200 Subject: Implement XEP-0272: Multiparty Jingle (Muji) stanza extensions (#457) Adds the presence extension and the extension of the Jingle IQ. https://xmpp.org/extensions/xep-0272.html --- src/base/QXmppPresence.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/base/QXmppPresence.h') diff --git a/src/base/QXmppPresence.h b/src/base/QXmppPresence.h index f704ddc9..0086c26a 100644 --- a/src/base/QXmppPresence.h +++ b/src/base/QXmppPresence.h @@ -1,10 +1,12 @@ // SPDX-FileCopyrightText: 2009 Manjeet Dahiya +// SPDX-FileCopyrightText: 2022 Melvin Keskin // // SPDX-License-Identifier: LGPL-2.1-or-later #ifndef QXMPPPRESENCE_H #define QXMPPPRESENCE_H +#include "QXmppJingleIq.h" #include "QXmppMucIq.h" #include "QXmppStanza.h" @@ -106,6 +108,13 @@ public: QStringList capabilityExt() const; + // XEP-0272: Multiparty Jingle (Muji) + bool isPreparingMujiSession() const; + void setIsPreparingMujiSession(bool isPreparingMujiSession); + + QVector mujiContents() const; + void setMujiContents(const QVector &mujiContents); + // XEP-0319: Last User Interaction in Presence QDateTime lastUserInteraction() const; void setLastUserInteraction(const QDateTime &); -- cgit v1.2.3