Prevent empty messages from being posted