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
I found that the sso login did not change the avatar. Because the picture data is of length 0, we compute the hash and then construct the upload_name, which will be the same each time, so the logic to update the avatar will not run
As you can see in the log, print(picture.read()) always prints b ", which should be why there are so many upload_names like this in the database
Description
I found that the sso login did not change the avatar. Because the picture data is of length 0, we compute the hash and then construct the upload_name, which will be the same each time, so the logic to update the avatar will not run
As you can see in the log, print(picture.read()) always prints b ", which should be why there are so many upload_names like this in the database
synapse/handlers/sso.py
async def set_avatar(self, user_id: str, picture_https_url: str) -> bool:
Steps to reproduce
Homeserver
matrix.org
Synapse Version
call synapse/handlers/sso.py set_avatar
Installation Method
Docker (matrixdotorg/synapse)
Database
postgresql
Workers
Single process
Platform
docker
Configuration
No response
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: