Introduce Service Id Types
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
414c0a58d3
commit
366b875fd2
269 changed files with 5832 additions and 5550 deletions
|
@ -131,7 +131,7 @@ export function processQuote(
|
|||
|
||||
return {
|
||||
id: quote.id?.toNumber(),
|
||||
authorUuid: dropNull(quote.authorUuid),
|
||||
authorAci: dropNull(quote.authorAci),
|
||||
text: dropNull(quote.text),
|
||||
attachments: (quote.attachments ?? []).map(attachment => {
|
||||
return {
|
||||
|
@ -223,7 +223,7 @@ export function processReaction(
|
|||
return {
|
||||
emoji: dropNull(reaction.emoji),
|
||||
remove: Boolean(reaction.remove),
|
||||
targetAuthorUuid: dropNull(reaction.targetAuthorUuid),
|
||||
targetAuthorAci: dropNull(reaction.targetAuthorAci),
|
||||
targetTimestamp: reaction.targetTimestamp?.toNumber(),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue