From 3ab45e8d01e68b4d1027ffda8e4e07dd998ef8d9 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Mon, 25 Nov 2024 14:04:18 -0600 Subject: [PATCH] Fix service id conversion in import Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> --- ts/services/backups/import.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/services/backups/import.ts b/ts/services/backups/import.ts index 372fcdcb2243..69f58beacaa4 100644 --- a/ts/services/backups/import.ts +++ b/ts/services/backups/import.ts @@ -2452,7 +2452,9 @@ export class BackupImportStream extends Writable { } details.push({ type: 'pending-add-one', - serviceId: fromAciObject(Aci.fromUuidBytes(inviteeServiceId)), + serviceId: fromServiceIdObject( + ServiceId.parseFromServiceIdBinary(Buffer.from(inviteeServiceId)) + ), }); } if (update.groupUnknownInviteeUpdate) {