It's no longer necessary since the backend handles posts with empty content fine and also fixes an odd whitespace when attachment links are disabled.
The upmost post is posted with this branch, while the bottom one is posted with develop: