aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-02-26 19:40:13 +0100
committerTobias Fella <fella@posteo.de>2022-02-26 19:40:13 +0100
commit29510632780f695eefc9d5107e223aa02caac2c6 (patch)
tree954188d537a599de7369529022959c8417f31b6c /lib/e2ee
parent62039b527507aa6c45fbf7ac787da6234d2faac3 (diff)
downloadlibquotient-29510632780f695eefc9d5107e223aa02caac2c6.tar.gz
libquotient-29510632780f695eefc9d5107e223aa02caac2c6.zip
Use QOlmMessage::Type in more places
Make sure that the enum values correspond to the values used in the spec and use them instead of magic constants
Diffstat (limited to 'lib/e2ee')
-rw-r--r--lib/e2ee/qolmmessage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/e2ee/qolmmessage.h b/lib/e2ee/qolmmessage.h
index 5d5db636..b4285a93 100644
--- a/lib/e2ee/qolmmessage.h
+++ b/lib/e2ee/qolmmessage.h
@@ -22,8 +22,8 @@ class QUOTIENT_API QOlmMessage : public QByteArray {
Q_GADGET
public:
enum Type {
+ PreKey = 0,
General,
- PreKey,
};
Q_ENUM(Type)