Fix service id conversion in import

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-11-25 14:04:18 -06:00 committed by GitHub
parent ecea93e451
commit 3ab45e8d01
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) {