diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index cabfb667a1..2370741978 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -797,6 +797,7 @@
"Show message previews for reactions in DMs": "Show message previews for reactions in DMs",
"Show message previews for reactions in all rooms": "Show message previews for reactions in all rooms",
"Offline encrypted messaging using dehydrated devices": "Offline encrypted messaging using dehydrated devices",
+ "Share decryption keys for room history when inviting users": "Share decryption keys for room history when inviting users",
"Enable advanced debugging for the room list": "Enable advanced debugging for the room list",
"Show info about bridges in room settings": "Show info about bridges in room settings",
"Font size": "Font size",
@@ -2208,6 +2209,7 @@
"Invite someone using their name, username (like
) or
share this space.": "Invite someone using their name, username (like
) or
share this space.",
"Invite someone using their name, email address, username (like
) or
share this room.": "Invite someone using their name, email address, username (like
) or
share this room.",
"Invite someone using their name, username (like
) or
share this room.": "Invite someone using their name, username (like
) or
share this room.",
+ "Invited people will be able to read old messages.": "Invited people will be able to read old messages.",
"Transfer": "Transfer",
"a new master key signature": "a new master key signature",
"a new cross-signing key signature": "a new cross-signing key signature",
diff --git a/src/settings/Settings.ts b/src/settings/Settings.ts
index b38dee6e1a..55fddc4a35 100644
--- a/src/settings/Settings.ts
+++ b/src/settings/Settings.ts
@@ -220,6 +220,12 @@ export const SETTINGS: {[setting: string]: ISetting} = {
supportedLevels: LEVELS_FEATURE,
default: false,
},
+ "feature_room_history_key_sharing": {
+ isFeature: true,
+ displayName: _td("Share decryption keys for room history when inviting users"),
+ supportedLevels: LEVELS_FEATURE,
+ default: false,
+ },
"advancedRoomListLogging": {
// TODO: Remove flag before launch: https://github.com/vector-im/element-web/issues/14231
displayName: _td("Enable advanced debugging for the room list"),