mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Keep date in Watcher IDs
This commit is contained in:
parent
2d8a2c5210
commit
f6c7df8c69
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ export default class SettingsStore {
|
||||||
settingName = setting.invertedSettingName;
|
settingName = setting.invertedSettingName;
|
||||||
}
|
}
|
||||||
|
|
||||||
const watcherId = `${SettingsStore._watcherCount++}_${settingName}_${roomId}`;
|
const watcherId = `${new Date().getTime()}_${SettingsStore._watcherCount++}_${settingName}_${roomId}`;
|
||||||
|
|
||||||
const localizedCallback = (changedInRoomId, atLevel, newValAtLevel) => {
|
const localizedCallback = (changedInRoomId, atLevel, newValAtLevel) => {
|
||||||
const newValue = SettingsStore.getValue(originalSettingName);
|
const newValue = SettingsStore.getValue(originalSettingName);
|
||||||
|
|
Loading…
Reference in a new issue