fix sessions manager
This commit is contained in:
parent
f5745acd24
commit
5e715fad5e
@ -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);
|
||||||
})
|
})
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user