fix: Remove avatar crashes with invalid uri

We should send an empty string
there as the comment mentions.
Uri.parse around it was just a
typo.
This commit is contained in:
Christian Kußowski 2025-10-15 12:54:53 +02:00
parent c628647eb5
commit 6c17e43445
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652
1 changed files with 1 additions and 1 deletions

View File

@ -1614,7 +1614,7 @@ class Client extends MatrixApi {
await setProfileField( await setProfileField(
userID!, userID!,
'avatar_url', 'avatar_url',
{'avatar_url': Uri.parse('')}, {'avatar_url': ''},
); );
return; return;
} }