summary refs log tree commit diff
path: root/src/Cache.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-17 02:14:44 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-17 02:14:44 +0200
commit3f0aa13cb6f83c8768dc30b1a1872b9696992fa7 (patch)
tree2d0408c5395debf10c0f9b4ea9cdb5216af28f0d /src/Cache.h
parentStore megolm session data in separate database (diff)
downloadnheko-3f0aa13cb6f83c8768dc30b1a1872b9696992fa7.tar.xz
Share historical keys
We share all keys with our devices and ones created by us to other
users.
Diffstat (limited to 'src/Cache.h')
-rw-r--r--src/Cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Cache.h b/src/Cache.h

index 2b547876..57a36d73 100644 --- a/src/Cache.h +++ b/src/Cache.h
@@ -229,6 +229,8 @@ mtx::crypto::InboundGroupSessionPtr getInboundMegolmSession(const MegolmSessionIndex &index); bool inboundMegolmSessionExists(const MegolmSessionIndex &index); +std::optional<GroupSessionData> +getMegolmSessionData(const MegolmSessionIndex &index); // // Olm Sessions