Hydrate body ranges for story replies

This commit is contained in:
Fedor Indutny 2022-11-09 20:59:36 -08:00 committed by GitHub
parent 9f85db3fd8
commit be6e988a95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 221 additions and 172 deletions

View file

@ -11,7 +11,7 @@ import * as GoogleChrome from '../../util/GoogleChrome';
import { MessageBody } from './MessageBody';
import type { AttachmentType, ThumbnailType } from '../../types/Attachment';
import type { BodyRangesType, LocalizerType } from '../../types/Util';
import type { HydratedBodyRangesType, LocalizerType } from '../../types/Util';
import type {
ConversationColorType,
CustomColorType,
@ -27,7 +27,7 @@ export type Props = {
authorTitle: string;
conversationColor: ConversationColorType;
customColor?: CustomColorType;
bodyRanges?: BodyRangesType;
bodyRanges?: HydratedBodyRangesType;
i18n: LocalizerType;
isFromMe: boolean;
isIncoming?: boolean;