Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

room.getJoinedMemberCount() returns incorrect count #26033

Closed
germain-gg opened this issue Aug 23, 2023 · 0 comments · Fixed by matrix-org/matrix-js-sdk#3687
Closed

room.getJoinedMemberCount() returns incorrect count #26033

germain-gg opened this issue Aug 23, 2023 · 0 comments · Fixed by matrix-org/matrix-js-sdk#3687
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@germain-gg
Copy link
Contributor

Steps to reproduce

  1. Listen to the event room.currentState#RoomStateEvent.Members
  2. call getJoinedMemberCount() in the callback

Outcome

What did you expect?

To get an accurate joined member count

What happened instead?

It uses the value from the summary API, and that has unfortumately not been updated yet.
There is also no event emitted to be made aware of those values changing

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

No response

Homeserver

No response

Will you send logs?

No

@weeman1337 weeman1337 added S-Minor Impairs non-critical functionality or suitable workarounds exist O-Occasional Affects or can be seen by some users regularly or most users rarely labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants