From 2290ebcf7810e842c73180d6591b2eaa553aec4b Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 27 Nov 2020 04:56:44 +0100 Subject: Remove outbound session storage --- src/Cache.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Cache.h') diff --git a/src/Cache.h b/src/Cache.h index d2af9a1b..4418414d 100644 --- a/src/Cache.h +++ b/src/Cache.h @@ -241,7 +241,8 @@ getOutboundMegolmSession(const std::string &room_id); bool outboundMegolmSessionExists(const std::string &room_id) noexcept; void -updateOutboundMegolmSession(const std::string &room_id, int message_index); +updateOutboundMegolmSession(const std::string &room_id, + mtx::crypto::OutboundGroupSessionPtr &session); void dropOutboundMegolmSession(const std::string &room_id); @@ -277,9 +278,7 @@ getLatestOlmSession(const std::string &curve25519); void saveOlmAccount(const std::string &pickled); + std::string restoreOlmAccount(); - -void -restoreSessions(); } -- cgit 1.5.1