Reload the timeline after key import

This commit is contained in:
Nicolas Werner 2021-01-25 17:06:27 +01:00
parent e5d2e2b728
commit 0b5269bfc0

View file

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