Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

API to change avatar #1543

Open
Tracked by #1492 ...
Johennes opened this issue Aug 18, 2023 · 2 comments
Open
Tracked by #1492 ...

API to change avatar #1543

Johennes opened this issue Aug 18, 2023 · 2 comments
Assignees
Labels
A-Device-Management Related to sessions and device management A-GraphQL Changes to the GraphQL API T-Enhancement New feature of request Z-MAS-October All the things needed for the MAS release in October

Comments

@Johennes
Copy link

Johennes commented Aug 18, 2023

For #1542, we'll need an API to set and update the user avatar.

@sandhose said on #1491:

Uploading the avatar is really tricky from MAS perspective right now, and we don't have a good way to interact with the regular C-S API from the My Account UI.

To add the required APIs on the MAS side, the quickest way would be to be able to call the C-S API as any user with the admin token MAS has to communicate with Synapse. I opened an issue on their side for this: matrix-org/synapse#16129

@Johennes Johennes added T-Enhancement New feature of request A-GraphQL Changes to the GraphQL API labels Aug 18, 2023
@Johennes Johennes added the Z-MAS-September All the things needed for the MAS release in September label Aug 18, 2023
@Johennes Johennes removed the Z-MAS-September All the things needed for the MAS release in September label Aug 18, 2023
@sandhose
Copy link
Member

Turns out, the approach I was going to use will not work with the Matrix Media Repo, which means it wont work in some deployments. Either I find another approach, or implement forwarding the query parameter in MMR: matrix-org/synapse#16132

@matrixbot
Copy link
Member

For your information, this issue has been copied over to the Element fork of matrix-authentication-service: element-hq/matrix-authentication-service#1543

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Device-Management Related to sessions and device management A-GraphQL Changes to the GraphQL API T-Enhancement New feature of request Z-MAS-October All the things needed for the MAS release in October
Projects
None yet
Development

No branches or pull requests

5 participants