Support for blocking groups on mobile, via group/blocked syncs
This commit is contained in:
parent
cfe561b3eb
commit
9c399624cc
8 changed files with 89 additions and 15 deletions
|
@ -71,14 +71,14 @@ export class GroupNotification extends React.Component<Props> {
|
|||
/>
|
||||
);
|
||||
case 'remove':
|
||||
if (!contacts || !contacts.length) {
|
||||
throw new Error('Group update is missing contacts');
|
||||
}
|
||||
|
||||
if (isMe) {
|
||||
return i18n('youLeftTheGroup');
|
||||
}
|
||||
|
||||
if (!contacts || !contacts.length) {
|
||||
throw new Error('Group update is missing contacts');
|
||||
}
|
||||
|
||||
return (
|
||||
<Intl
|
||||
i18n={i18n}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue