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:
parent
c628647eb5
commit
6c17e43445
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue