mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
Reload the timeline after key import
This commit is contained in:
parent
e5d2e2b728
commit
0b5269bfc0
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue