diff options
Diffstat (limited to 'src/base/QXmppMessage.cpp')
| -rw-r--r-- | src/base/QXmppMessage.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/base/QXmppMessage.cpp b/src/base/QXmppMessage.cpp index e2d4a003..ec285d0a 100644 --- a/src/base/QXmppMessage.cpp +++ b/src/base/QXmppMessage.cpp @@ -14,8 +14,6 @@ #include "QXmppTrustMessageElement.h" #include "QXmppUtils.h" -#include <optional> - #include <QDateTime> #include <QDomElement> #include <QTextStream> @@ -94,7 +92,6 @@ public: QString thread; QString parentThread; QXmppMessage::Type type; - QByteArray senderKey; // XEP-0066: Out of Band Data QString outOfBandUrl; @@ -312,44 +309,6 @@ void QXmppMessage::setParentThread(const QString &parent) } /// -/// Returns the ID of this message's sender's public long-term key. -/// -/// The key ID is not part of a transmitted message and thus not de- / -/// serialized. -/// Instead, the key ID is set by an encryption protocol such as -/// \xep{0384, OMEMO Encryption} when it decrypts this message. -/// It can be used by trust management protocols such as -/// \xep{0450, Automatic Trust Management (ATM)}. -/// -/// \return the ID of the sender's key -/// -/// \since QXmpp 1.5 -/// -QByteArray QXmppMessage::senderKey() const -{ - return d->senderKey; -} - -/// -/// Sets the ID of this message's sender's public long-term key. -/// -/// The key ID is not part of a transmitted message and thus not de- / -/// serialized. -/// Instead, the key ID is set by an encryption protocol such as -/// \xep{0384, OMEMO Encryption} when it decrypts this message. -/// It can be used by trust management protocols such as -/// \xep{0450, Automatic Trust Management (ATM)}. -/// -/// \param keyId ID of the sender's key -/// -/// \since QXmpp 1.5 -/// -void QXmppMessage::setSenderKey(const QByteArray &keyId) -{ - d->senderKey = keyId; -} - -/// /// Returns a possibly attached URL from \xep{0066}: Out of Band Data /// /// \since QXmpp 1.0 |
