Don't show name collisions for system contacts
This commit is contained in:
parent
84be8288e9
commit
6c6eed0b1e
12 changed files with 121 additions and 17 deletions
|
@ -11,6 +11,7 @@ import { Modal } from './Modal';
|
|||
|
||||
import { ConversationType } from '../state/ducks/conversations';
|
||||
import { LocalizerType } from '../types/Util';
|
||||
import { isInSystemContacts } from '../util/isInSystemContacts';
|
||||
|
||||
export type SafetyNumberProps = {
|
||||
contactID: string;
|
||||
|
@ -103,7 +104,7 @@ export const SafetyNumberChangeDialog = ({
|
|||
<div className="module-SafetyNumberChangeDialog__contact--wrapper">
|
||||
<div className="module-SafetyNumberChangeDialog__contact--name">
|
||||
{contact.title}
|
||||
{contact.name ? (
|
||||
{isInSystemContacts(contact) ? (
|
||||
<span>
|
||||
{' '}
|
||||
<InContactsIcon i18n={i18n} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue