diff --git a/ts/components/conversation/MessageBody.tsx b/ts/components/conversation/MessageBody.tsx index 780037c05c..65f6d0d331 100644 --- a/ts/components/conversation/MessageBody.tsx +++ b/ts/components/conversation/MessageBody.tsx @@ -66,8 +66,9 @@ export class MessageBody extends React.Component { ( + renderNonNewLine={({ text, key: innerKey }) => ( | undefined, unidentifiedDeliveries: Array | undefined, - discoveredIdentifierPairs: Array<{ - uuid: string | null; - e164: string | null; - }> + discoveredIdentifierPairs: + | Array<{ + uuid: string | null; + e164: string | null; + }> + | undefined ): Promise { - discoveredIdentifierPairs.forEach(item => { + (discoveredIdentifierPairs || []).forEach(item => { const { uuid, e164 } = item; window.ConversationController.ensureContactIds({ uuid,