Update to the latest SignalService.proto
This commit is contained in:
parent
cf5dc4b940
commit
d26d915a44
26 changed files with 464 additions and 536 deletions
|
@ -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(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue