diff options
| author | Melvin Keskin <melvo@olomono.de> | 2021-12-19 17:46:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-19 17:46:51 +0100 |
| commit | 3012300f5f8b93e5120a8b1520841b6c934d58fd (patch) | |
| tree | 0bb068c666ee7d4d14dfcb740e12b63d8d375523 /src/base/QXmppMessage.cpp | |
| parent | 4ef85abe637cc5735f12e053e0faf4dd8e159564 (diff) | |
XEP-0380: Add new encryptions (#384)
Updates to version 0.4.
Diffstat (limited to 'src/base/QXmppMessage.cpp')
| -rw-r--r-- | src/base/QXmppMessage.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/base/QXmppMessage.cpp b/src/base/QXmppMessage.cpp index c5a30a46..927cf9b8 100644 --- a/src/base/QXmppMessage.cpp +++ b/src/base/QXmppMessage.cpp @@ -70,7 +70,9 @@ static const QStringList ENCRYPTION_NAMESPACES = { ns_otr, ns_legacy_openpgp, ns_ox, - ns_omemo + ns_omemo, + ns_omemo_1, + ns_omemo_2 }; static const QStringList HINT_TYPES = { @@ -86,7 +88,9 @@ static const QStringList ENCRYPTION_NAMES = { QStringLiteral("OTR"), QStringLiteral("Legacy OpenPGP"), QStringLiteral("OpenPGP for XMPP (OX)"), - QStringLiteral("OMEMO") + QStringLiteral("OMEMO"), + QStringLiteral("OMEMO 1"), + QStringLiteral("OMEMO 2") }; static bool checkElement(const QDomElement &element, const QString &tagName, const QString &xmlns) |
