Rename ContactType to EmbeddedContactType

This commit is contained in:
Fedor Indutny 2021-08-19 18:56:39 -07:00 committed by GitHub
parent 017a0fa807
commit fe040a2873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 46 additions and 42 deletions

View file

@ -49,7 +49,7 @@ import {
isVideo,
isGIF,
} from '../../types/Attachment';
import { ContactType } from '../../types/Contact';
import { EmbeddedContactType } from '../../types/EmbeddedContact';
import { getIncrement } from '../../util/timer';
import { isFileDangerous } from '../../util/isFileDangerous';
@ -129,7 +129,7 @@ export type PropsData = {
direction: DirectionType;
timestamp: number;
status?: MessageStatusType;
contact?: ContactType;
contact?: EmbeddedContactType;
author: Pick<
ConversationType,
| 'acceptedMessageRequest'
@ -216,7 +216,7 @@ export type PropsActions = {
openConversation: (conversationId: string, messageId?: string) => void;
showContactDetail: (options: {
contact: ContactType;
contact: EmbeddedContactType;
signalAccount?: string;
}) => void;
showContactModal: (contactId: string) => void;