fix(matrix): move avatar setup into account config (#61437)

Merged via squash.

Prepared head SHA: 4dd887a474
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
Gustavo Madeira Santana
2026-04-05 14:57:44 -04:00
committed by GitHub
parent bcc0e3de2e
commit cac40c01e9
9 changed files with 201 additions and 80 deletions

View File

@@ -177,7 +177,7 @@ async function addMatrixAccount(params: {
throw new Error("Matrix account setup is unavailable.");
}
const input: ChannelSetupInput & { avatarUrl?: string } = {
const input: ChannelSetupInput = {
name: params.name,
avatarUrl: params.avatarUrl,
homeserver: params.homeserver,