Update to the latest SignalService.proto

This commit is contained in:
Scott Nonnenberg 2025-02-11 08:20:14 +10:00 committed by GitHub
commit d26d915a44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 464 additions and 536 deletions

View file

@ -198,7 +198,7 @@ function cleanLinkPreviewDate(value?: Long | null): number | undefined {
}
export function processPreview(
preview?: ReadonlyArray<Proto.DataMessage.IPreview> | null
preview?: ReadonlyArray<Proto.IPreview> | null
): ReadonlyArray<ProcessedPreview> | undefined {
if (!preview) {
return undefined;
@ -247,7 +247,7 @@ export function processReaction(
emoji: dropNull(reaction.emoji),
remove: Boolean(reaction.remove),
targetAuthorAci: normalizeAci(targetAuthorAci, 'Reaction.targetAuthorAci'),
targetTimestamp: reaction.targetTimestamp?.toNumber(),
targetTimestamp: reaction.targetSentTimestamp?.toNumber(),
};
}