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

Fetch user status in avatar only if it is going to be shown #1380

Conversation

danxuliu
Copy link
Contributor

@danxuliu danxuliu commented Sep 2, 2020

Before the user status was always fetched when the component was mounted,
even if "showUserStatus" was false. If the avatar was never meant to
show the user status that caused unneeded requests (for example, in the
chat view of Talk).

@danxuliu danxuliu added bug Something isn't working 3. to review Waiting for reviews feature: avatar Related to the avatar component labels Sep 2, 2020
Before the user status was always fetched when the component was mounted,
even if "showUserStatus" was false. If the avatar was never meant to
show the user status that caused unneeded requests (for example, in the
chat view of Talk).

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the fetch-user-status-in-avatar-only-if-it-is-going-to-be-shown branch from 0aa5292 to a859db7 Compare September 3, 2020 08:49
@juliushaertl juliushaertl merged commit 5cb99b3 into master Sep 3, 2020
@juliushaertl juliushaertl deleted the fetch-user-status-in-avatar-only-if-it-is-going-to-be-shown branch September 3, 2020 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: avatar Related to the avatar component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants