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.cpp | |
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.cpp')
-rw-r--r-- | lib/crypto/qolminboundsession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/qolminboundsession.cpp b/lib/crypto/qolminboundsession.cpp index beaf3299..31d699f1 100644 --- a/lib/crypto/qolminboundsession.cpp +++ b/lib/crypto/qolminboundsession.cpp @@ -72,7 +72,7 @@ QByteArray QOlmInboundGroupSession::pickle(const PicklingMode &mode) const return pickledBuf; } -std::variant<std::unique_ptr<QOlmInboundGroupSession>, QOlmError> QOlmInboundGroupSession::unpickle(QByteArray &pickled, const PicklingMode &mode) +std::variant<std::unique_ptr<QOlmInboundGroupSession>, QOlmError> QOlmInboundGroupSession::unpickle(const QByteArray &pickled, const PicklingMode &mode) { QByteArray pickledBuf = pickled; const auto groupSession = olm_inbound_group_session(new uint8_t[olm_inbound_group_session_size()]); |