Update quote behavior in backups

This commit is contained in:
trevor-signal 2024-11-12 17:00:46 -05:00 committed by GitHub
parent 104995e980
commit 541ba6c9de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 142 additions and 280 deletions

View file

@ -117,7 +117,7 @@ export function getPaymentEventDescription(
export function isQuoteAMatch(
message: ReadonlyMessageAttributesType | null | undefined,
conversationId: string,
quote: ReadonlyDeep<Pick<QuotedMessageType, 'id' | 'authorAci' | 'author'>>
quote: ReadonlyDeep<Pick<QuotedMessageType, 'id' | 'authorAci'>>
): message is ReadonlyMessageAttributesType {
if (!message) {
return false;