Refactor outbound delivery state, take 2

This reverts commit ad217c808d.
This commit is contained in:
Evan Hahn 2021-07-19 17:44:49 -05:00 committed by GitHub
parent aade43bfa3
commit c4a09b7507
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 2303 additions and 502 deletions

View file

@ -10,7 +10,6 @@ import { Avatar } from '../Avatar';
import { ContactName } from './ContactName';
import {
Message,
MessageStatusType,
Props as MessagePropsType,
PropsData as MessagePropsDataType,
} from './Message';
@ -18,6 +17,7 @@ import { LocalizerType } from '../../types/Util';
import { ConversationType } from '../../state/ducks/conversations';
import { assert } from '../../util/assert';
import { ContactNameColorType } from '../../types/Colors';
import { SendStatus } from '../../messages/MessageSendState';
export type Contact = Pick<
ConversationType,
@ -33,7 +33,7 @@ export type Contact = Pick<
| 'title'
| 'unblurredAvatarPath'
> & {
status: MessageStatusType | null;
status: SendStatus | null;
isOutgoingKeyError: boolean;
isUnidentifiedDelivery: boolean;