Avatars don't load when authentication to retrieve profile data is enabled
Steps to reproduce:
- In a custom homeserver, set
require_auth_for_profile_requests: true
- Log in to that homeserver with a non-Fractal client that supports avatar display, like Riot
- Set a custom avatar if you don't have one already, and join some rooms containing users who have custom avatars
- See that avatars appear
- Log in to the same homeserver with Fractal, as the same user
- Click the hamburger button to view your avatar, or view some rooms containing users that have profile pictures set
Actual results: Every avatar will be the default (the username's initials).
Expected results: Custom avatars should appear.
Development Tasks
-
perform authentication via the client API when loading your avatar or those of other users, if a homeserver says it's required