Outgoing: Ensure that sends still succeed without CDS
This commit is contained in:
parent
ce067258a0
commit
ec8ac1db58
4 changed files with 30 additions and 18 deletions
|
@ -23,10 +23,9 @@ export const SmartContactName: React.ComponentType<ExternalProps> = props => {
|
|||
getConversationSelector
|
||||
);
|
||||
|
||||
const conversation = getConversation(conversationId);
|
||||
if (!conversation) {
|
||||
throw new Error(`Conversation id ${conversationId} not found!`);
|
||||
}
|
||||
const conversation = getConversation(conversationId) || {
|
||||
title: i18n('unknownContact'),
|
||||
};
|
||||
|
||||
return <ContactName i18n={i18n} {...conversation} />;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue