From 3012300f5f8b93e5120a8b1520841b6c934d58fd Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Sun, 19 Dec 2021 17:46:51 +0100 Subject: XEP-0380: Add new encryptions (#384) Updates to version 0.4. --- src/base/QXmppMessage.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/base/QXmppMessage.cpp') 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) -- cgit v1.2.3