summary refs log tree commit diff
path: root/src/Cache_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r--src/Cache_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h

index f9562a65..f8c4ceaf 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h
@@ -235,7 +235,8 @@ public: mtx::crypto::OutboundGroupSessionPtr session); OutboundGroupSessionDataRef getOutboundMegolmSession(const std::string &room_id); bool outboundMegolmSessionExists(const std::string &room_id) noexcept; - void updateOutboundMegolmSession(const std::string &room_id, int message_index); + void updateOutboundMegolmSession(const std::string &room_id, + mtx::crypto::OutboundGroupSessionPtr &session); void dropOutboundMegolmSession(const std::string &room_id); void importSessionKeys(const mtx::crypto::ExportedSessionKeys &keys); @@ -265,8 +266,6 @@ public: void saveOlmAccount(const std::string &pickled); std::string restoreOlmAccount(); - void restoreSessions(); - signals: void newReadReceipts(const QString &room_id, const std::vector<QString> &event_ids); void roomReadStatus(const std::map<QString, bool> &status); @@ -578,7 +577,6 @@ private: QString localUserId_; QString cacheDirectory_; - OlmSessionStorage session_storage; VerificationStorage verification_storage; };