aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/QXmppGlobal.h6
-rw-r--r--src/base/QXmppMessage.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/base/QXmppGlobal.h b/src/base/QXmppGlobal.h
index e5296aec..fe57efc7 100644
--- a/src/base/QXmppGlobal.h
+++ b/src/base/QXmppGlobal.h
@@ -68,7 +68,7 @@ enum Encryption {
/// \xep{0373, OpenPGP for XMPP}
Ox,
/// \xep{0384, OMEMO Encryption}
- Omemo,
+ Omemo0,
/// \xep{0384, OMEMO Encryption} since version 0.4
Omemo1,
/// \xep{0384, OMEMO Encryption} since version 0.8
@@ -91,8 +91,8 @@ enum Encryption {
OX = Ox,
/// \xep{0384, OMEMO Encryption}
/// \deprecated This enum is deprecated since QXmpp 1.5. Use
- /// \c QXmpp::Omemo instead.
- OMEMO = Omemo,
+ /// \c QXmpp::Omemo0 instead.
+ OMEMO = Omemo0,
#endif
};
diff --git a/src/base/QXmppMessage.h b/src/base/QXmppMessage.h
index aa4d8611..e9d442c1 100644
--- a/src/base/QXmppMessage.h
+++ b/src/base/QXmppMessage.h
@@ -38,7 +38,7 @@ public:
static const EncryptionMethod OTR = EncryptionMethod::Otr;
static const EncryptionMethod LegacyOpenPGP = EncryptionMethod::LegacyOpenPgp;
static const EncryptionMethod OX = EncryptionMethod::Ox;
- static const EncryptionMethod OMEMO = EncryptionMethod::Omemo;
+ static const EncryptionMethod OMEMO = EncryptionMethod::Omemo0;
/// \endcond
#endif