aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee/qolmmessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/e2ee/qolmmessage.h')
-rw-r--r--lib/e2ee/qolmmessage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/e2ee/qolmmessage.h b/lib/e2ee/qolmmessage.h
index 557c02b1..5d5db636 100644
--- a/lib/e2ee/qolmmessage.h
+++ b/lib/e2ee/qolmmessage.h
@@ -28,8 +28,9 @@ public:
Q_ENUM(Type)
QOlmMessage() = default;
- explicit QOlmMessage(const QByteArray &ciphertext, Type type = General);
+ explicit QOlmMessage(QByteArray ciphertext, Type type = General);
explicit QOlmMessage(const QOlmMessage &message);
+ ~QOlmMessage() = default;
static QOlmMessage fromCiphertext(const QByteArray &ciphertext);