diff --git a/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js b/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js index 1cde5d6f87..907e29baa7 100644 --- a/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js +++ b/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js @@ -254,15 +254,12 @@ export default class SecurityUserSettingsTab extends React.Component { ); - let eventIndex; - if (SettingsStore.isFeatureEnabled("feature_event_indexing")) { - eventIndex = ( -
- {_t("Message search")} - -
- ); - } + let eventIndex = ( +
+ {_t("Message search")} + +
+ ); // XXX: There's no such panel in the current cross-signing designs, but // it's useful to have for testing the feature. If there's no interest diff --git a/src/indexing/EventIndexPeg.js b/src/indexing/EventIndexPeg.js index 9aa7e78eda..ae4c14dafd 100644 --- a/src/indexing/EventIndexPeg.js +++ b/src/indexing/EventIndexPeg.js @@ -37,10 +37,6 @@ class EventIndexPeg { * EventIndex was successfully initialized, false otherwise. */ async init() { - if (!SettingsStore.isFeatureEnabled("feature_event_indexing")) { - return false; - } - const indexManager = PlatformPeg.get().getEventIndexingManager(); if (!indexManager) { console.log("EventIndex: Platform doesn't support event indexing, not initializing."); diff --git a/src/settings/Settings.js b/src/settings/Settings.js index 32ff0a5f94..d7374718d3 100644 --- a/src/settings/Settings.js +++ b/src/settings/Settings.js @@ -158,12 +158,6 @@ export const SETTINGS = { supportedLevels: ['device', 'config'], // we shouldn't use LEVELS_FEATURE for non-features, so copy it here. default: true, }, - "feature_event_indexing": { - isFeature: true, - supportedLevels: LEVELS_FEATURE, - displayName: _td("Enable local event indexing and E2EE search (requires restart)"), - default: false, - }, "feature_bridge_state": { isFeature: true, supportedLevels: LEVELS_FEATURE,