aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/qolminboundsession.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-12-07 00:25:05 +0100
committerTobias Fella <fella@posteo.de>2021-12-07 00:25:05 +0100
commit47bd4dfb2bc720d2b5919b93985f87d918af572a (patch)
tree073836555481025d1ebd5c5c200a5933336db295 /lib/crypto/qolminboundsession.cpp
parent9217026e46d7ac0d761cc5206d7ef00978558c47 (diff)
downloadlibquotient-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.cpp2
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()]);