Enable New Group settings for everyone; remove desktop.gv2Admin feature flag
This commit is contained in:
parent
b81a52bbdd
commit
f7d4f84736
2 changed files with 2 additions and 8 deletions
|
@ -10,7 +10,6 @@ export type ConfigKeyType =
|
|||
| 'desktop.disableGV1'
|
||||
| 'desktop.groupCalling'
|
||||
| 'desktop.gv2'
|
||||
| 'desktop.gv2Admin'
|
||||
| 'desktop.mandatoryProfileSharing'
|
||||
| 'desktop.messageRequests'
|
||||
| 'desktop.storage'
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue