diff options
author | Tobias Fella <fella@posteo.de> | 2021-09-11 16:18:35 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-09-11 21:02:47 +0200 |
commit | 0209be8305aa38722a3d25593ae71fbb3ac05e52 (patch) | |
tree | ab80c8b140f483c408209922a0c72b06912bd3a1 /lib/events/encryptionevent.h | |
parent | 9e548e0625a819052cd10d5c4bf129dde649a6a4 (diff) | |
download | libquotient-0209be8305aa38722a3d25593ae71fbb3ac05e52.tar.gz libquotient-0209be8305aa38722a3d25593ae71fbb3ac05e52.zip |
Add convenience function for activating encryption and fix
EncryptionEvent constructor
Diffstat (limited to 'lib/events/encryptionevent.h')
-rw-r--r-- | lib/events/encryptionevent.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/events/encryptionevent.h b/lib/events/encryptionevent.h index 65ee4187..14439fcc 100644 --- a/lib/events/encryptionevent.h +++ b/lib/events/encryptionevent.h @@ -12,9 +12,7 @@ class EncryptionEventContent : public EventContent::Base { public: enum EncryptionType : size_t { MegolmV1AesSha2 = 0, Undefined }; - explicit EncryptionEventContent(EncryptionType et = Undefined) - : encryption(et) - {} + explicit EncryptionEventContent(EncryptionType et = Undefined); explicit EncryptionEventContent(const QJsonObject& json); EncryptionType encryption; |