diff --git a/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsViewModel.kt b/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsViewModel.kt index e083b6ca0f..32d8f043c3 100644 --- a/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsViewModel.kt @@ -210,6 +210,7 @@ class RoomSettingsViewModel @AssistedInject constructor(@Assisted initialState: { postLoading(false) setState { copy(newHistoryVisibility = null) } + deletePendingAvatar() _viewEvents.post(RoomSettingsViewEvents.Success) }, {