mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
add future todo
This commit is contained in:
parent
6580219b09
commit
15ae35bbbc
@ -116,7 +116,9 @@ function updateSummary(data, summary) {
|
|||||||
const heroes = summary["m.heroes"];
|
const heroes = summary["m.heroes"];
|
||||||
const joinCount = summary["m.joined_member_count"];
|
const joinCount = summary["m.joined_member_count"];
|
||||||
const inviteCount = summary["m.invited_member_count"];
|
const inviteCount = summary["m.invited_member_count"];
|
||||||
|
// TODO: we could easily calculate if all members are available here and set hasFetchedMembers?
|
||||||
|
// so we can avoid calling /members...
|
||||||
|
// we'd need to do a count query in the roomMembers store though ...
|
||||||
if (heroes && Array.isArray(heroes)) {
|
if (heroes && Array.isArray(heroes)) {
|
||||||
data = data.cloneIfNeeded();
|
data = data.cloneIfNeeded();
|
||||||
data.heroes = heroes;
|
data.heroes = heroes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user