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

Don't leak the status when the app is disabled for the user #4137

Merged

Conversation

nickvergessen
Copy link
Member

Signed-off-by: Joas Schilling coding@schilljs.com

Signed-off-by: Joas Schilling <coding@schilljs.com>
if ($this->userId !== null
&& $includeStatus
&& count($participants['users']) < 100
&& $this->appManager->isEnabledForUser('user_status')) {
Copy link
Member Author

Choose a reason for hiding this comment

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

appmanager is already in the roomcontroller to check for circles, just in case someone is wondering

Copy link
Member

@georgehrke georgehrke left a comment

Choose a reason for hiding this comment

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

Code looks good 👍

@nickvergessen nickvergessen merged commit dd83ae2 into master Sep 11, 2020
@nickvergessen nickvergessen deleted the bugfix/noid/dont-leak-status-when-app-is-disabled branch September 11, 2020 15:06
@kesselb
Copy link
Contributor

kesselb commented Sep 11, 2020

😞

@danxuliu danxuliu mentioned this pull request Sep 17, 2020
1 task
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.

3 participants