fix sessions manager

This commit is contained in:
March 7th 2022-10-03 18:09:10 +07:00
parent f5745acd24
commit 5e715fad5e
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class SessionManager extends CachedManager {
.then(data => { .then(data => {
const allData = data.user_sessions; const allData = data.user_sessions;
for (const session of allData) { 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); resolve(this);
}) })

View File

@ -184,7 +184,7 @@ class Options extends null {
referrer_current: '', referrer_current: '',
referring_domain_current: '', referring_domain_current: '',
release_channel: 'stable', release_channel: 'stable',
client_build_number: 149043, client_build_number: 150489,
client_event_source: null, client_event_source: null,
}, },
// ? capabilities: 1021, // ? capabilities: 1021,