Remove key sharing feature flag
parent
7b0ab4a059
commit
bef5c6593e
|
@ -712,8 +712,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
|
||||||
this.props.onFinished();
|
this.props.onFinished();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cli.isRoomEncrypted(this.props.roomId) &&
|
if (cli.isRoomEncrypted(this.props.roomId)) {
|
||||||
SettingsStore.getValue("feature_room_history_key_sharing")) {
|
|
||||||
const visibilityEvent = room.currentState.getStateEvents(
|
const visibilityEvent = room.currentState.getStateEvents(
|
||||||
"m.room.history_visibility", "",
|
"m.room.history_visibility", "",
|
||||||
);
|
);
|
||||||
|
@ -1344,8 +1343,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
|
||||||
buttonText = _t("Invite");
|
buttonText = _t("Invite");
|
||||||
goButtonFn = this._inviteUsers;
|
goButtonFn = this._inviteUsers;
|
||||||
|
|
||||||
if (SettingsStore.getValue("feature_room_history_key_sharing") &&
|
if (cli.isRoomEncrypted(this.props.roomId)) {
|
||||||
cli.isRoomEncrypted(this.props.roomId)) {
|
|
||||||
const room = cli.getRoom(this.props.roomId);
|
const room = cli.getRoom(this.props.roomId);
|
||||||
const visibilityEvent = room.currentState.getStateEvents(
|
const visibilityEvent = room.currentState.getStateEvents(
|
||||||
"m.room.history_visibility", "",
|
"m.room.history_visibility", "",
|
||||||
|
|
|
@ -220,12 +220,6 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
||||||
supportedLevels: LEVELS_FEATURE,
|
supportedLevels: LEVELS_FEATURE,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
"feature_room_history_key_sharing": {
|
|
||||||
isFeature: true,
|
|
||||||
displayName: _td("Share decryption keys for room history when inviting users"),
|
|
||||||
supportedLevels: LEVELS_FEATURE,
|
|
||||||
default: true,
|
|
||||||
},
|
|
||||||
"advancedRoomListLogging": {
|
"advancedRoomListLogging": {
|
||||||
// TODO: Remove flag before launch: https://github.com/vector-im/element-web/issues/14231
|
// TODO: Remove flag before launch: https://github.com/vector-im/element-web/issues/14231
|
||||||
displayName: _td("Enable advanced debugging for the room list"),
|
displayName: _td("Enable advanced debugging for the room list"),
|
||||||
|
|
Loading…
Reference in New Issue