forked from mystiq/hydrogen-web
join and invited count were mixed up... oops
This commit is contained in:
parent
e5cdf061cb
commit
d5d0154873
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ function processTimelineEvent(data, event, isInitialSync, isTimelineOpen, ownUse
|
||||||
|
|
||||||
function updateSummary(data, summary) {
|
function updateSummary(data, summary) {
|
||||||
const heroes = summary["m.heroes"];
|
const heroes = summary["m.heroes"];
|
||||||
const inviteCount = summary["m.joined_member_count"];
|
const joinCount = summary["m.joined_member_count"];
|
||||||
const joinCount = summary["m.invited_member_count"];
|
const inviteCount = summary["m.invited_member_count"];
|
||||||
|
|
||||||
if (heroes && Array.isArray(heroes)) {
|
if (heroes && Array.isArray(heroes)) {
|
||||||
data = data.cloneIfNeeded();
|
data = data.cloneIfNeeded();
|
||||||
|
|
Loading…
Reference in a new issue