This repository was archived by the owner on May 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -712,8 +712,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
712
712
this . props . onFinished ( ) ;
713
713
}
714
714
715
- if ( cli . isRoomEncrypted ( this . props . roomId ) &&
716
- SettingsStore . getValue ( "feature_room_history_key_sharing" ) ) {
715
+ if ( cli . isRoomEncrypted ( this . props . roomId ) ) {
717
716
const visibilityEvent = room . currentState . getStateEvents (
718
717
"m.room.history_visibility" , "" ,
719
718
) ;
@@ -1344,8 +1343,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
1344
1343
buttonText = _t ( "Invite" ) ;
1345
1344
goButtonFn = this . _inviteUsers ;
1346
1345
1347
- if ( SettingsStore . getValue ( "feature_room_history_key_sharing" ) &&
1348
- cli . isRoomEncrypted ( this . props . roomId ) ) {
1346
+ if ( cli . isRoomEncrypted ( this . props . roomId ) ) {
1349
1347
const room = cli . getRoom ( this . props . roomId ) ;
1350
1348
const visibilityEvent = room . currentState . getStateEvents (
1351
1349
"m.room.history_visibility" , "" ,
Original file line number Diff line number Diff line change 800
800
"Show message previews for reactions in DMs" : " Show message previews for reactions in DMs" ,
801
801
"Show message previews for reactions in all rooms" : " Show message previews for reactions in all rooms" ,
802
802
"Offline encrypted messaging using dehydrated devices" : " Offline encrypted messaging using dehydrated devices" ,
803
- "Share decryption keys for room history when inviting users" : " Share decryption keys for room history when inviting users" ,
804
803
"Enable advanced debugging for the room list" : " Enable advanced debugging for the room list" ,
805
804
"Show info about bridges in room settings" : " Show info about bridges in room settings" ,
806
805
"Font size" : " Font size" ,
Original file line number Diff line number Diff line change @@ -220,12 +220,6 @@ export const SETTINGS: {[setting: string]: ISetting} = {
220
220
supportedLevels : LEVELS_FEATURE ,
221
221
default : false ,
222
222
} ,
223
- "feature_room_history_key_sharing" : {
224
- isFeature : true ,
225
- displayName : _td ( "Share decryption keys for room history when inviting users" ) ,
226
- supportedLevels : LEVELS_FEATURE ,
227
- default : false ,
228
- } ,
229
223
"advancedRoomListLogging" : {
230
224
// TODO: Remove flag before launch: https://github.com/vector-im/element-web/issues/14231
231
225
displayName : _td ( "Enable advanced debugging for the room list" ) ,
You can’t perform that action at this time.
0 commit comments