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

gitter: Fix occupants for GitterRoom #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nvzard
Copy link
Contributor

@nvzard nvzard commented Mar 12, 2019

The limit parameter was not used which defaults to 30
and returns maximum 100 users at a time. Hence, it fails
to return all the members in the room.
In order to tackle this, we need to iterate by skipping
100 members with every API request. Also users count
needs to be updated everytime list of occupants is
requested as new users may join a room in realtime.

Closes #38

The limit parameter was not used which defaults to 30
and returns maximum 100 users at a time. Hence, it fails
to return all the members in the room.
In order to tackle this, we need to iterate by skipping
100 members with every API request. Also users count
needs to be updated everytime list of occupants is
requested as new users may join a room in realtime.

Closes errbotio#38
@nvzard
Copy link
Contributor Author

nvzard commented Mar 12, 2019

This might need some more testing, I made it in a hurry. I'll update by tomorrow if necessary.

@abhishalya
Copy link
Contributor

This might need some more testing, I made it in a hurry. I'll update by tomorrow if necessary.

@nvzard Have you tested this? I would test it today or tomorrow :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants