summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-01-25 17:06:27 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-25 17:06:27 +0100
commit0b5269bfc0f7d7ea551c3e4fea15944e780c75ad (patch)
tree993fe91a3d9184dfe8f6339c5ee2b42480c53277 /src/Cache.cpp
parentRemove test log message (diff)
downloadnheko-0b5269bfc0f7d7ea551c3e4fea15944e780c75ad.tar.xz
Reload the timeline after key import
Diffstat (limited to '')
-rw-r--r--src/Cache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index de377f49..3f2bf73a 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -327,6 +327,7 @@ Cache::importSessionKeys(const mtx::crypto::ExportedSessionKeys &keys) auto exported_session = mtx::crypto::import_session(s.session_key); saveInboundMegolmSession(index, std::move(exported_session)); + ChatPage::instance()->receivedSessionKey(index.room_id, index.session_id); } }