Fix service id conversion in import

This commit is contained in:
Fedor Indutny 2024-11-25 07:58:02 -08:00 committed by GitHub
parent 41ea98a80f
commit 3aa62ecdb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {