Prevent empty message - server side
Prevent empty message - client side