fix: Remove avatar from room

This commit is contained in:
Krille Fear 2021-11-24 07:29:05 +01:00
commit 5775f54552
2 changed files with 2 additions and 3 deletions

View file

@ -68,7 +68,7 @@ class SettingsController extends State<Settings> {
if (action == AvatarAction.remove) {
final success = await showFutureLoadingDialog(
context: context,
future: () => matrix.client.setAvatarUrl(matrix.client.userID, null),
future: () => matrix.client.setAvatar(null),
);
if (success.error == null) {
updateProfile();