Fix keys not being reshared to the same devices, that already got them, if the message got lost
This commit is contained in:
parent
20c1ca2aae
commit
1936749ff5
4 changed files with 49 additions and 24 deletions
|
|
@ -334,7 +334,7 @@ Cache::exportSessionKeys()
|
|||
exported.room_id = index.room_id;
|
||||
exported.sender_key = index.sender_key;
|
||||
exported.session_id = index.session_id;
|
||||
exported.session_key = export_session(saved_session.get());
|
||||
exported.session_key = export_session(saved_session.get(), -1);
|
||||
|
||||
keys.sessions.push_back(exported);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue