mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
fix: pull Client into state early
(should fix empty server list)
This commit is contained in:
@@ -73,10 +73,14 @@ export default class Ordering implements Store, Persistent<Data>, Syncable {
|
||||
}
|
||||
}
|
||||
|
||||
console.info("out1", out);
|
||||
|
||||
for (const id of known) {
|
||||
out.push(this.state.client!.servers.get(id)!);
|
||||
}
|
||||
|
||||
console.info("out2", out);
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user