mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-12 07:56:18 +02:00
Keep date in Watcher IDs
This commit is contained in:
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…
x
Reference in New Issue
Block a user