Emojify group title updates
This commit is contained in:
parent
5eef2ee299
commit
4d4c522c7f
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ import React from 'react';
|
|||
import { compact, flatten } from 'lodash';
|
||||
|
||||
import { ContactName } from './ContactName';
|
||||
import { Emojify } from './Emojify';
|
||||
import { Intl } from '../Intl';
|
||||
import { LocalizerType } from '../../types/Util';
|
||||
|
||||
|
@ -59,7 +60,7 @@ export class GroupNotification extends React.Component<Props> {
|
|||
|
||||
switch (type) {
|
||||
case 'name':
|
||||
return i18n('titleIsNow', [newName || '']);
|
||||
return <Emojify text={i18n('titleIsNow', [newName || ''])} />;
|
||||
case 'add':
|
||||
if (!contacts || !contacts.length) {
|
||||
throw new Error('Group update is missing contacts');
|
||||
|
|
Loading…
Reference in a new issue