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

Fix pagination and use deactivated users switch #22

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

rkfg
Copy link
Contributor

@rkfg rkfg commented Mar 24, 2020

In the recent Synapse versions at least there's no next_token element in the returned JSON for the last batch so to make pagination work I propose using the from value in this case. Also actually use the deactivated switch value in the requests.

@awesome-manuel
Copy link
Member

See matrix-org/synapse#6881

@rkfg
Copy link
Contributor Author

rkfg commented Mar 26, 2020

Yeah but as a temporary fix it should be okay. And deactivated users can be shown right now but the switch state wasn't included in the query.

@awesome-manuel awesome-manuel merged commit 7eeb605 into Awesome-Technologies:master Mar 26, 2020
@rkfg rkfg deleted the bugfix branch March 26, 2020 13:49
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