diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-03 18:38:28 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-03 18:38:28 +0200 |
commit | 2a79cd2b6b3548ac86a646b16f5a8d658fdb7282 (patch) | |
tree | 8a27f5dbfd1d8c6afb4b0d3d3125785467373f47 /src/Cache.h | |
parent | Fix nullopt when iterating reactions (diff) | |
download | nheko-2a79cd2b6b3548ac86a646b16f5a8d658fdb7282.tar.xz |
Don't fail on missing key for a device and /rotate-megolm-session command
Diffstat (limited to 'src/Cache.h')
-rw-r--r-- | src/Cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Cache.h b/src/Cache.h index edad5993..fca80145 100644 --- a/src/Cache.h +++ b/src/Cache.h @@ -271,6 +271,8 @@ bool outboundMegolmSessionExists(const std::string &room_id) noexcept; void updateOutboundMegolmSession(const std::string &room_id, int message_index); +void +dropOutboundMegolmSession(const std::string &room_id); void importSessionKeys(const mtx::crypto::ExportedSessionKeys &keys); |