aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppRosterIq.h
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2020-02-12 21:24:43 +0100
committerLinus Jahn <lnj@kaidan.im>2020-02-12 21:24:43 +0100
commit5ec472c036f33e5f863847596c0d8e3d9e9643ef (patch)
tree4ae17112d931bb8ea84a1c914b575c11d99a1092 /src/base/QXmppRosterIq.h
parent5049805fb5c726245ae422856d4a7afc70031e9d (diff)
downloadqxmpp-5ec472c036f33e5f863847596c0d8e3d9e9643ef.tar.gz
Reapply "Implement MIX-PAM XEP-0405: Roster IQ extension"
This reverts commit 4af8f27d6bcbb44d349f4637d4653ac6ca3de09c. On the XMPP summit the decision was made to stick to the roster extension now. The custom protocol would in the end be like a copy of the roster protocol. Thus, the roster iq extension should not be removed or replaced with another protocol.
Diffstat (limited to 'src/base/QXmppRosterIq.h')
-rw-r--r--src/base/QXmppRosterIq.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/base/QXmppRosterIq.h b/src/base/QXmppRosterIq.h
index 5baf4b63..f9b33724 100644
--- a/src/base/QXmppRosterIq.h
+++ b/src/base/QXmppRosterIq.h
@@ -79,6 +79,13 @@ public:
void setSubscriptionStatus(const QString &);
void setSubscriptionType(SubscriptionType);
+ // XEP-0405: Mediated Information eXchange (MIX): Participant Server Requirements
+ bool isMixChannel() const;
+ void setIsMixChannel(bool);
+
+ QString mixParticipantId() const;
+ void setMixParticipantId(const QString&);
+
/// \cond
void parse(const QDomElement &element);
void toXml(QXmlStreamWriter *writer) const;
@@ -103,6 +110,10 @@ public:
void addItem(const Item &);
QList<Item> items() const;
+ // XEP-0405: Mediated Information eXchange (MIX): Participant Server Requirements
+ bool mixAnnotate() const;
+ void setMixAnnotate(bool);
+
/// \cond
static bool isRosterIq(const QDomElement &element);
/// \endcond