Update to the latest SignalService.proto

This commit is contained in:
Scott Nonnenberg
2025-02-11 08:20:14 +10:00
committed by GitHub
parent cf5dc4b940
commit d26d915a44
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(),
};
}