diff --git a/BeWo/ViewModel/ListViewModel/AiConversationListVM.cs b/BeWo/ViewModel/ListViewModel/AiConversationListVM.cs index 27e8aba67..310a84666 100644 --- a/BeWo/ViewModel/ListViewModel/AiConversationListVM.cs +++ b/BeWo/ViewModel/ListViewModel/AiConversationListVM.cs @@ -46,7 +46,7 @@ namespace BeWo.ViewModel.ListViewModel { Models = new ObservableSortCollection(); - SendNewMessageCommand = new DelegateCommand(SendNewMessage, () => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModuleChatAdd) && SelectedVM is object); + SendNewMessageCommand = new DelegateCommand(SendNewMessage, () => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModuleChatAdd) && SelectedVM is object && !string.IsNullOrWhiteSpace(MessageInput)); RequestNewConversationCommand = new DelegateCommand(RequestNewConversation, () => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModuleChatAdd)); //TestCommand = new DelegateCommand(Test);