mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
join and invited count were mixed up... oops
This commit is contained in:
parent
e5cdf061cb
commit
d5d0154873
@ -97,8 +97,8 @@ function processTimelineEvent(data, event, isInitialSync, isTimelineOpen, ownUse
|
||||
|
||||
function updateSummary(data, summary) {
|
||||
const heroes = summary["m.heroes"];
|
||||
const inviteCount = summary["m.joined_member_count"];
|
||||
const joinCount = summary["m.invited_member_count"];
|
||||
const joinCount = summary["m.joined_member_count"];
|
||||
const inviteCount = summary["m.invited_member_count"];
|
||||
|
||||
if (heroes && Array.isArray(heroes)) {
|
||||
data = data.cloneIfNeeded();
|
||||
|
Loading…
Reference in New Issue
Block a user