diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt b/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt index c6cb13fa1..01270ddac 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt @@ -147,6 +147,7 @@ class ConversationInfoViewModel @Inject constructor( _getTalkBanState.value = ListBansSuccessState(listBans) } catch (exception: Exception) { _getTalkBanState.value = ListBansErrorState + Log.e(TAG, "Error while getting list of banned participants", exception) } } } @@ -165,6 +166,7 @@ class ConversationInfoViewModel @Inject constructor( _getBanActorState.value = BanActorSuccessState(talkBan) } catch (exception: Exception) { _getBanActorState.value = BanActorErrorState + Log.e(TAG, "Error banning a participant", exception) } } } @@ -201,6 +203,7 @@ class ConversationInfoViewModel @Inject constructor( _getUnBanActorState.value = UnBanActorSuccessState } catch (exception: Exception) { _getUnBanActorState.value = UnBanActorErrorState + Log.e(TAG, "Error while unbanning a participant", exception) } } }