Rename ContactType to EmbeddedContactType
This commit is contained in:
parent
017a0fa807
commit
fe040a2873
16 changed files with 46 additions and 42 deletions
|
@ -90,7 +90,7 @@ const FIXMEU8 = Uint8Array;
|
|||
window.Whisper = window.Whisper || {};
|
||||
|
||||
const { Services, Util } = window.Signal;
|
||||
const { Contact, Message } = window.Signal.Types;
|
||||
const { EmbeddedContact, Message } = window.Signal.Types;
|
||||
const {
|
||||
deleteAttachmentData,
|
||||
doesAttachmentExist,
|
||||
|
@ -3170,7 +3170,7 @@ export class ConversationModel extends window.Backbone
|
|||
async makeQuote(
|
||||
quotedMessage: typeof window.Whisper.MessageType
|
||||
): Promise<QuotedMessageType> {
|
||||
const { getName } = Contact;
|
||||
const { getName } = EmbeddedContact;
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
const contact = quotedMessage.getContact()!;
|
||||
const attachments = quotedMessage.get('attachments');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue