From d5d015487360ddb84c8268a503123d9f83669715 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 21 Aug 2020 18:11:26 +0200 Subject: [PATCH] join and invited count were mixed up... oops --- src/matrix/room/RoomSummary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/room/RoomSummary.js b/src/matrix/room/RoomSummary.js index de181c41..d76fc294 100644 --- a/src/matrix/room/RoomSummary.js +++ b/src/matrix/room/RoomSummary.js @@ -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();