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

Remove live-check of the canHideOnlineStatus permission #6148

Merged
merged 3 commits into from
Dec 23, 2024

Conversation

BurntimeX
Copy link
Member

The live check means that the user's group assignments and permissions had to be loaded. This is particularly unfavorable in places where many users are displayed (such as the member list).

The live check means that the user's group assignments and permissions had to be loaded. This is particularly unfavorable in places where many users are displayed (such as the member list).
The new method checks whether a user has restricted the visibility of their online status in the past, but has since lost the permission for it. In this case, the visibility of the online status is automatically set to default.
@BurntimeX BurntimeX requested a review from dtdesign December 20, 2024 15:10
@BurntimeX BurntimeX merged commit 4be0031 into 6.1 Dec 23, 2024
7 checks passed
@BurntimeX BurntimeX deleted the 61-can-hide-online-status branch December 23, 2024 13:38
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