Switch provisioning to libsignal

This commit is contained in:
Fedor Indutny
2026-01-30 10:36:41 -08:00
committed by GitHub
parent a59c298aa1
commit 134246fb7d
18 changed files with 151 additions and 1765 deletions

View File

@@ -25,7 +25,7 @@ import {
type EnvelopeType as ProvisionEnvelopeType,
} from '../../textsecure/Provisioner.preload.js';
import { accountManager } from '../../textsecure/AccountManager.preload.js';
import { getProvisioningResource } from '../../textsecure/WebAPI.preload.js';
import { getProvisioningConnection } from '../../textsecure/WebAPI.preload.js';
import type { BoundActionCreatorsMapObject } from '../../hooks/useBoundActions.std.js';
import { useBoundActions } from '../../hooks/useBoundActions.std.js';
import { createLogger } from '../../logging/log.std.js';
@@ -179,7 +179,7 @@ function startInstaller(): ThunkAction<
if (!provisioner) {
provisioner = new Provisioner({
server: {
getProvisioningResource,
getProvisioningConnection,
},
});
}