prevent empty chat-messages from being sent