Keep date in Watcher IDs

pull/21833/head
Michael Telatynski 2020-02-04 11:14:49 +00:00
parent 2d8a2c5210
commit f6c7df8c69
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ export default class SettingsStore {
settingName = setting.invertedSettingName;
}
const watcherId = `${SettingsStore._watcherCount++}_${settingName}_${roomId}`;
const watcherId = `${new Date().getTime()}_${SettingsStore._watcherCount++}_${settingName}_${roomId}`;
const localizedCallback = (changedInRoomId, atLevel, newValAtLevel) => {
const newValue = SettingsStore.getValue(originalSettingName);