decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript
This commit is contained in:
parent
37ff4a1df4
commit
86d2a4b5dd
60 changed files with 2508 additions and 28714 deletions
|
@ -53,6 +53,7 @@ import {
|
|||
StickerPackType,
|
||||
StickerType,
|
||||
UnprocessedType,
|
||||
UnprocessedUpdateType,
|
||||
} from './Interface';
|
||||
|
||||
declare global {
|
||||
|
@ -3517,7 +3518,7 @@ async function updateUnprocessedAttempts(
|
|||
}
|
||||
async function updateUnprocessedWithData(
|
||||
id: string,
|
||||
data: UnprocessedType
|
||||
data: UnprocessedUpdateType
|
||||
): Promise<void> {
|
||||
const db = getInstance();
|
||||
const { source, sourceUuid, sourceDevice, serverTimestamp, decrypted } = data;
|
||||
|
@ -3543,7 +3544,7 @@ async function updateUnprocessedWithData(
|
|||
});
|
||||
}
|
||||
async function updateUnprocessedsWithData(
|
||||
arrayOfUnprocessed: Array<{ id: string; data: UnprocessedType }>
|
||||
arrayOfUnprocessed: Array<{ id: string; data: UnprocessedUpdateType }>
|
||||
): Promise<void> {
|
||||
const db = getInstance();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue