From 0b5269bfc0f7d7ea551c3e4fea15944e780c75ad Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 25 Jan 2021 17:06:27 +0100 Subject: [PATCH] Reload the timeline after key import --- src/Cache.cpp | 1 + 1 file changed, 1 insertion(+) 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); } }