Prevent user from posting empty messages.