diff options
| author | Linus Jahn <lnj@kaidan.im> | 2019-01-05 14:06:09 +0100 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2019-05-01 10:24:51 +0200 |
| commit | 740a085ef7ac707e2cc2217edf02e296c3f7692e (patch) | |
| tree | 243cf37fccb12b20092993aa20f536b067db2064 /src/base/QXmppRosterIq.h | |
| parent | c0412e29545c109e3473b38dbeba4e17514a7b05 (diff) | |
| download | qxmpp-740a085ef7ac707e2cc2217edf02e296c3f7692e.tar.gz | |
Implement MIX-PAM XEP-0405: Roster IQ extension
This adds the MIX extensions for roster queries as defined in XEP-0405:
Mediated Information eXchange (MIX): Participant Server Requirements in
version 0.4.0.
https://xmpp.org/extensions/xep-0405.html#mix-roster-capability-sharing
Diffstat (limited to 'src/base/QXmppRosterIq.h')
| -rw-r--r-- | src/base/QXmppRosterIq.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/base/QXmppRosterIq.h b/src/base/QXmppRosterIq.h index 6f6749c9..1b8b747a 100644 --- a/src/base/QXmppRosterIq.h +++ b/src/base/QXmppRosterIq.h @@ -78,6 +78,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; @@ -99,6 +106,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 |
