Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to change avatar #1543

Open
matrixbot opened this issue Sep 9, 2024 · 1 comment
Open

API to change avatar #1543

matrixbot opened this issue Sep 9, 2024 · 1 comment
Labels
A-Device-Management Related to sessions and device management A-GraphQL Changes to the GraphQL API T-Enhancement New feature of request

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @Johennes at matrix-org/matrix-authentication-service#1543.

For matrix-org/matrix-authentication-service#1542, we'll need an API to set and update the user avatar.

@sandhose said on matrix-org/matrix-authentication-service#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

@matrixbot matrixbot added 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 labels Sep 9, 2024
@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @sandhose at matrix-org/matrix-authentication-service#1543 (comment).

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

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

No branches or pull requests

2 participants