From 776f028d9f3f51e9dbba834a01d1decd737c4a27 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 11 Feb 2020 10:56:00 +0100 Subject: Implement XEP-0359: Unique and Stable Stanza IDs This adds support of XEP-0359: Unique and Stable Stanza IDs in version 0.6.0. --- src/base/QXmppMessage.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/base/QXmppMessage.h') diff --git a/src/base/QXmppMessage.h b/src/base/QXmppMessage.h index cd24c25a..7b43a651 100644 --- a/src/base/QXmppMessage.h +++ b/src/base/QXmppMessage.h @@ -178,6 +178,16 @@ public: void removeHint(const Hint hint); void removeAllHints(); + // XEP-0359: Unique and Stable Stanza IDs + QString stanzaId() const; + void setStanzaId(const QString &id); + + QString stanzaIdBy() const; + void setStanzaIdBy(const QString &id); + + QString originId() const; + void setOriginId(const QString &id); + // XEP-0367: Message Attaching QString attachId() const; void setAttachId(const QString &); -- cgit v1.2.3