Enable New Group settings for everyone; remove desktop.gv2Admin feature flag

This commit is contained in:
Evan Hahn 2021-03-11 16:59:10 -06:00 committed by Josh Perez
parent b81a52bbdd
commit f7d4f84736
2 changed files with 2 additions and 8 deletions

View file

@ -10,7 +10,6 @@ export type ConfigKeyType =
| 'desktop.disableGV1'
| 'desktop.groupCalling'
| 'desktop.gv2'
| 'desktop.gv2Admin'
| 'desktop.mandatoryProfileSharing'
| 'desktop.messageRequests'
| 'desktop.storage'

View file

@ -411,10 +411,7 @@ export class ConversationHeader extends React.Component<PropsType, StateType> {
isMissingMandatoryProfileSharing
);
const hasGV2AdminEnabled =
isGroup &&
groupVersion === 2 &&
window.Signal.RemoteConfig.isEnabled('desktop.gv2Admin');
const hasGV2AdminEnabled = isGroup && groupVersion === 2;
return (
<ContextMenu id={triggerId}>
@ -522,9 +519,7 @@ export class ConversationHeader extends React.Component<PropsType, StateType> {
};
break;
case 'group': {
const hasGV2AdminEnabled =
groupVersion === 2 &&
window.Signal.RemoteConfig.isEnabled('desktop.gv2Admin');
const hasGV2AdminEnabled = groupVersion === 2;
onClick = hasGV2AdminEnabled
? () => {
onShowConversationDetails();