ManageEventIndex: Rename the enable crawler setting.

This commit is contained in:
Damir Jelić 2020-01-23 12:24:54 +01:00
parent 9bee024da7
commit 4953f32cba
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ export default class ManageEventIndex extends React.Component {
roomCount: 0,
currentRoom: null,
eventIndexingEnabled:
SettingsStore.getValueAt(SettingLevel.DEVICE, 'enableCrawling'),
SettingsStore.getValueAt(SettingLevel.DEVICE, 'enableEventIndexing'),
crawlerSleepTime:
SettingsStore.getValueAt(SettingLevel.DEVICE, 'crawlerSleepTime'),
};

View File

@ -491,9 +491,9 @@ export const SETTINGS = {
displayName: _td("How long should the crawler wait between requests"),
default: 3000,
},
"enableCrawling": {
"enableEventIndexing": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
displayName: _td("How long should the crawler wait between requests"),
displayName: _td("Enable message search in encrypted rooms"),
default: true,
},
};