Use libsignal-client for parsing crash reports

This commit is contained in:
Fedor Indutny 2024-02-13 13:41:48 -08:00 committed by GitHub
parent d7f0978c6d
commit 9ad6d5b66b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 86 additions and 241 deletions

View file

@ -1356,7 +1356,9 @@ export class ConversationController {
async _forgetE164(e164: string): Promise<void> {
const { server } = window.textsecure;
strictAssert(server, 'Server must be initialized');
const serviceIdMap = await getServiceIdsForE164s(server, [e164]);
const { entries: serviceIdMap } = await getServiceIdsForE164s(server, [
e164,
]);
const pni = serviceIdMap.get(e164)?.pni;