Include sender keys in SignalProtocolStore zones
This commit is contained in:
parent
a17e157e7b
commit
06165cb742
10 changed files with 231 additions and 108 deletions
|
@ -186,7 +186,7 @@ const dataInterface: ClientInterface = {
|
|||
|
||||
createOrUpdateSession,
|
||||
createOrUpdateSessions,
|
||||
commitSessionsAndUnprocessed,
|
||||
commitDecryptResult,
|
||||
bulkAddSessions,
|
||||
removeSessionById,
|
||||
removeSessionsByConversation,
|
||||
|
@ -921,11 +921,12 @@ async function createOrUpdateSession(data: SessionType) {
|
|||
async function createOrUpdateSessions(array: Array<SessionType>) {
|
||||
await channels.createOrUpdateSessions(array);
|
||||
}
|
||||
async function commitSessionsAndUnprocessed(options: {
|
||||
async function commitDecryptResult(options: {
|
||||
senderKeys: Array<SenderKeyType>;
|
||||
sessions: Array<SessionType>;
|
||||
unprocessed: Array<UnprocessedType>;
|
||||
}) {
|
||||
await channels.commitSessionsAndUnprocessed(options);
|
||||
await channels.commitDecryptResult(options);
|
||||
}
|
||||
async function bulkAddSessions(array: Array<SessionType>) {
|
||||
await channels.bulkAddSessions(array);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue