mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Fix reference to nonexistent variable
This commit is contained in:
parent
55c3d9371e
commit
a780fa3bab
1 changed files with 1 additions and 5 deletions
|
@ -29,11 +29,7 @@ function initialize({ events, storage, navigator, logger }) {
|
|||
|
||||
runWhenOnline();
|
||||
|
||||
events.on('timetravel', () => {
|
||||
if (initialized) {
|
||||
scheduleNextRotation();
|
||||
}
|
||||
});
|
||||
events.on('timetravel', scheduleNextRotation);
|
||||
|
||||
function scheduleNextRotation() {
|
||||
const now = Date.now();
|
||||
|
|
Loading…
Reference in a new issue