Skip to content

Commit b25c9f2

Browse files
authored
Merge pull request #2165 from famedly/krille/fix-remove-avatar
fix: Remove avatar crashes with invalid uri
2 parents c628647 + 6c17e43 commit b25c9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ class Client extends MatrixApi {
16141614
await setProfileField(
16151615
userID!,
16161616
'avatar_url',
1617-
{'avatar_url': Uri.parse('')},
1617+
{'avatar_url': ''},
16181618
);
16191619
return;
16201620
}

0 commit comments

Comments
 (0)