diff options
author | Tobias Fella <fella@posteo.de> | 2021-12-07 00:25:05 +0100 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-07 00:25:05 +0100 |
commit | 47bd4dfb2bc720d2b5919b93985f87d918af572a (patch) | |
tree | 073836555481025d1ebd5c5c200a5933336db295 /lib/crypto/qolminboundsession.h | |
parent | 9217026e46d7ac0d761cc5206d7ef00978558c47 (diff) | |
download | libquotient-47bd4dfb2bc720d2b5919b93985f87d918af572a.tar.gz libquotient-47bd4dfb2bc720d2b5919b93985f87d918af572a.zip |
Port E2EE to database instead of JSON files
Diffstat (limited to 'lib/crypto/qolminboundsession.h')
-rw-r--r-- | lib/crypto/qolminboundsession.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/qolminboundsession.h b/lib/crypto/qolminboundsession.h index 36ab4942..362e42ba 100644 --- a/lib/crypto/qolminboundsession.h +++ b/lib/crypto/qolminboundsession.h @@ -27,7 +27,7 @@ public: QByteArray pickle(const PicklingMode &mode) const; //! Deserialises from encrypted Base64 that was previously obtained by pickling //! an `OlmInboundGroupSession`. - static std::variant<std::unique_ptr<QOlmInboundGroupSession>, QOlmError> unpickle(QByteArray &picked, const PicklingMode &mode); + static std::variant<std::unique_ptr<QOlmInboundGroupSession>, QOlmError> unpickle(const QByteArray &picked, const PicklingMode &mode); //! Decrypts ciphertext received for this group session. std::variant<std::pair<QString, uint32_t>, QOlmError> decrypt(const QByteArray &message); //! Export the base64-encoded ratchet key for this session, at the given index, |