Automattic/Postbot — pull request #17 by mkaz (2014-12-26 19:05:49+00:00)
Title: For #6 - set featured image on create new post

For #6 - set featured image on create new post

This does an extra call to set the featured_image to the attachment id of uploaded attachment.
An extra call is needed because the featured_image is set to the post id of the attachment which is not known until after the upload.

We may want a setting somewhere whether or not to set the featured_image, this will make it down by default which should not cause any issues even if a theme doesn't support it since it won't do anything with the info.

The only concern would be for themes that might duplicate the image showing both the content and the featured image.