Skip to content

Conversation

florianduros
Copy link
Member

@florianduros florianduros commented Oct 8, 2025

Closes #30940
The room header is still missing the 3Pid invits but I guess it's better

@florianduros florianduros changed the title fix: same member count in header and room list Fix: member count in header and member list Oct 8, 2025
@florianduros florianduros force-pushed the florianduros/members branch 2 times, most recently from 4e79957 to 83ba237 Compare October 8, 2025 15:37

setMemberMap(newMemberMap);
setMemberCount(joinedSdk.length + invitedSdk.length + threePidInvited.length);
setMemberCount(room.getInvitedAndJoinedMemberCount() + threePidInvited.length);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If using the summary counts you need to watch for RoomEvent.Summary to update them when they change

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@florianduros florianduros added this pull request to the merge queue Oct 9, 2025
Merged via the queue into develop with commit 3098eba Oct 9, 2025
37 checks passed
@florianduros florianduros deleted the florianduros/members branch October 9, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Membership count for room differs in header v.s. right hand panel

2 participants