mirror of https://github.com/vector-im/riot-web
Keep date in Watcher IDs
parent
2d8a2c5210
commit
f6c7df8c69
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue