Keep date in Watcher IDs

This commit is contained in:
Michael Telatynski 2020-02-04 11:14:49 +00:00
parent 2d8a2c5210
commit f6c7df8c69

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);