diff options
| author | Melvin Keskin <melvo@olomono.de> | 2022-09-25 14:12:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-25 14:12:51 +0200 |
| commit | 524a02debffd9552f0928b5804d7b51b045aa9d2 (patch) | |
| tree | a8832b961839c27511193ec58e608ea552ff5362 /src/base/QXmppPresence.h | |
| parent | 48bc0775e68cb6d7647287e90c3e69fde387003a (diff) | |
| download | qxmpp-524a02debffd9552f0928b5804d7b51b045aa9d2.tar.gz | |
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
Diffstat (limited to 'src/base/QXmppPresence.h')
| -rw-r--r-- | src/base/QXmppPresence.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <manjeetdahiya@gmail.com> +// SPDX-FileCopyrightText: 2022 Melvin Keskin <melvo@olomono.de> // // 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<QXmppJingleIq::Content> mujiContents() const; + void setMujiContents(const QVector<QXmppJingleIq::Content> &mujiContents); + // XEP-0319: Last User Interaction in Presence QDateTime lastUserInteraction() const; void setLastUserInteraction(const QDateTime &); |
