diff options
| author | Linus Jahn <lnj@kaidan.im> | 2019-01-05 13:18:45 +0100 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2019-05-01 10:24:51 +0200 |
| commit | c0412e29545c109e3473b38dbeba4e17514a7b05 (patch) | |
| tree | 9c6d10d44198a6e06312899fffe42d3f7a183251 /src/base/QXmppPresence.h | |
| parent | f8fc440ef424dec4e465eb6a57eadb734f43da59 (diff) | |
| download | qxmpp-c0412e29545c109e3473b38dbeba4e17514a7b05.tar.gz | |
Implement MIX-PAM XEP-0405: Presence extension
This implements the new presence extension defined by XEP-0405: Mediated
Information eXchange (MIX): Participant Server Requirements in version
0.4.0.
https://xmpp.org/extensions/xep-0405.html#usecase-user-presence-receive
Diffstat (limited to 'src/base/QXmppPresence.h')
| -rw-r--r-- | src/base/QXmppPresence.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/QXmppPresence.h b/src/base/QXmppPresence.h index bda272af..25b6ea7f 100644 --- a/src/base/QXmppPresence.h +++ b/src/base/QXmppPresence.h @@ -132,6 +132,13 @@ public: QDateTime lastUserInteraction() const; void setLastUserInteraction(const QDateTime&); + // XEP-0405: Mediated Information eXchange (MIX): Participant Server Requirements + QString mixUserJid() const; + void setMixUserJid(const QString&); + + QString mixUserNick() const; + void setMixUserNick(const QString&); + bool isXmppStanza() const; private: |
