diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index 56b23c63f2..d76e1c1716 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -85,7 +85,7 @@ const SIMPLE_SETTINGS = [ { id: "pinMentionedRooms" }, { id: "pinUnreadRooms" }, { id: "showDeveloperTools" }, - { id: "alwaysInviteUnknownUsers" }, + { id: "promptBeforeInviteUnknownUsers" }, ]; // These settings must be defined in SettingsStore diff --git a/src/components/views/dialogs/AskInviteAnywayDialog.js b/src/components/views/dialogs/AskInviteAnywayDialog.js index 5c61c3a694..d4b073eb01 100644 --- a/src/components/views/dialogs/AskInviteAnywayDialog.js +++ b/src/components/views/dialogs/AskInviteAnywayDialog.js @@ -35,7 +35,7 @@ export default React.createClass({ }, _onInviteNeverWarnClicked: function() { - SettingsStore.setValue("alwaysInviteUnknownUsers", null, SettingLevel.ACCOUNT, true); + SettingsStore.setValue("promptBeforeInviteUnknownUsers", null, SettingLevel.ACCOUNT, false); this.props.onInviteAnyways(); this.props.onFinished(true); }, @@ -58,7 +58,7 @@ export default React.createClass({ contentId='mx_Dialog_content' >
{_t("The following users may not exist - would you like to invite them anyways?")}
+{_t("Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?")}