Remove ability to set or read author E164 for new quotes

This commit is contained in:
Evan Hahn 2021-04-05 15:39:38 -05:00 committed by Josh Perez
parent 18ccda83ba
commit 8fe1be8678
6 changed files with 14 additions and 23 deletions

4
ts/model-types.d.ts vendored
View file

@ -88,7 +88,9 @@ export type MessageAttributesType = {
profileChange: ProfileNameChangeType;
quote: {
attachments: Array<typeof window.WhatIsThis>;
author: string;
// `author` is an old attribute that holds the author's E164. We shouldn't use it for
// new messages, but old messages might have this attribute.
author?: string;
authorUuid: string;
bodyRanges: BodyRangesType;
id: string;