Include prefix for PNI serviceIds on export

This commit is contained in:
trevor-signal
2026-03-19 08:50:11 -07:00
committed by GitHub
parent d34506f400
commit 284c10973d

View File

@@ -2065,7 +2065,7 @@ export class BackupExportStream extends Readable {
/** For fields that can accept either ACI or PNI bytes */ /** For fields that can accept either ACI or PNI bytes */
#serviceIdToBytes(serviceId: ServiceIdString): Uint8Array<ArrayBuffer> { #serviceIdToBytes(serviceId: ServiceIdString): Uint8Array<ArrayBuffer> {
return ServiceId.parseFromServiceIdString(serviceId).getRawUuidBytes(); return ServiceId.parseFromServiceIdString(serviceId).getServiceIdBinary();
} }
async #toChatItemFromNonBubble( async #toChatItemFromNonBubble(