Skip to content
Commit 75084d10 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix "user has avatar" flag set as false for default user avatars



The avatar endpoint returns a picture for both default and custom
avatars, and the Avatar component does not differentiate between them;
as long as a picture is returned by the endpoint the "user has avatar"
flag is set to true.

However, the VideoBackground component only considered an avatar as
having a picture if it was a custom picture, so it would not show the
picture if it was not previously loaded (which should not happen in
practice, as Avatar components were loaded before the call was started).

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 32257381
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment