You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem happens when going to User Settings and trying to remove your avatar.
If the {"avatar_url": null} HTTP request to /_matrix/client/r0/profile/@user-id/avatar_url fails (in my case it fails with a 403 error for reasons which are expected and not related to this bug) the riot-web UI would not show any error message.
Even worse, it would display an empty avatar, as if removal really worked (while in actuality, it didn't). I'm guessing the latter is caused by optimistically removing the avatar for better UX, and never restoring it when the HTTP request fails.
The text was updated successfully, but these errors were encountered:
I can reproduce this on riot-web
0.16.0
.The problem happens when going to User Settings and trying to remove your avatar.
If the
{"avatar_url": null}
HTTP request to/_matrix/client/r0/profile/@user-id/avatar_url
fails (in my case it fails with a 403 error for reasons which are expected and not related to this bug) the riot-web UI would not show any error message.Even worse, it would display an empty avatar, as if removal really worked (while in actuality, it didn't). I'm guessing the latter is caused by optimistically removing the avatar for better UX, and never restoring it when the HTTP request fails.
The text was updated successfully, but these errors were encountered: