Merge pull request #2165 from famedly/krille/fix-remove-avatar

fix: Remove avatar crashes with invalid uri
This commit is contained in:
Krille-chan 2025-10-15 13:20:37 +02:00 committed by GitHub
commit b25c9f2ba9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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