diff options
Diffstat (limited to 'src/Cache.h')
-rw-r--r-- | src/Cache.h | 7 |
1 files changed, 3 insertions, 4 deletions
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(); } |