summary refs log tree commit diff
path: root/src/Cache.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-10-03 18:38:28 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-10-03 18:38:28 +0200
commit2a79cd2b6b3548ac86a646b16f5a8d658fdb7282 (patch)
tree8a27f5dbfd1d8c6afb4b0d3d3125785467373f47 /src/Cache.h
parentFix nullopt when iterating reactions (diff)
downloadnheko-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.h2
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);