From 5e715fad5eedbd0a4a6ba2615a26c00323c68cc6 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Mon, 3 Oct 2022 18:09:10 +0700 Subject: [PATCH] fix sessions manager --- src/managers/SessionManager.js | 2 +- src/util/Options.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/managers/SessionManager.js b/src/managers/SessionManager.js index ae0fc8c..e7a6f92 100644 --- a/src/managers/SessionManager.js +++ b/src/managers/SessionManager.js @@ -22,7 +22,7 @@ class SessionManager extends CachedManager { .then(data => { const allData = data.user_sessions; for (const session of allData) { - this._add(new Session(this.client, session), true); + this._add(new Session(this.client, session), true, { id: session.id_hash }); } resolve(this); }) diff --git a/src/util/Options.js b/src/util/Options.js index 63a7ebd..f608129 100644 --- a/src/util/Options.js +++ b/src/util/Options.js @@ -184,7 +184,7 @@ class Options extends null { referrer_current: '', referring_domain_current: '', release_channel: 'stable', - client_build_number: 149043, + client_build_number: 150489, client_event_source: null, }, // ? capabilities: 1021,