Include sender keys in SignalProtocolStore zones
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user