Сheck attachments on compose (Closes #161)
Small fix