mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-26 16:13:33 +00:00
Check timezone initially (#32764)
This commit is contained in:
@@ -190,6 +190,9 @@ class LoggedInView extends React.Component<IProps, IState> {
|
||||
SettingsStore.watchSetting("userTimezonePublish", null, this.onTimezoneUpdate),
|
||||
SettingsStore.watchSetting("userTimezone", null, this.onTimezoneUpdate),
|
||||
];
|
||||
// Call this initially to ensure that we set the correct timezone, if the
|
||||
// system time has changed between sessions.
|
||||
void this.onTimezoneUpdate();
|
||||
|
||||
this.loadResizer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user