Support the avatar size attribute for Matrix virtualUsers
Follow-up to https://gitlab.com/gitlab-org/gitter/webapp/-/issues/1076
Support the avatar size attribute for Matrix virtualUsers.
# This is what the Matrix API looks like:
# We use the `bDayqThxTIcGNcskzIADknRv` part of the response in the the next request
https://matrix-client.matrix.org/_matrix/client/r0/profile/%40madlittlemods%3Amatrix.org/avatar_url
{
"avatar_url": "mxc://matrix.org/bDayqThxTIcGNcskzIADknRv"
}
# This is the URL that the bridge will probably pass to us
https://matrix-client.matrix.org/_matrix/media/r0/thumbnail/matrix.org/bDayqThxTIcGNcskzIADknRv?width=30&height=30&method=crop