Fix not being able to post empty statuses with attachments
authorrinpatch <rinpatch@sdf.org>
Fri, 27 Sep 2019 22:56:20 +0000 (01:56 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 27 Sep 2019 22:58:06 +0000 (01:58 +0300)
commit374f83d29b5793d75a3a6be7c18cf52cfed42b64
tree6f5dda6e1fe52b5de220a438ac2d69c9f4cae053
parent705ea1b975779180c15d7b32d22f7fb9a11b2ed9
Fix not being able to post empty statuses with attachments

Attachment field was filled in after the empty status check
lib/pleroma/web/common_api/activity_draft.ex
test/web/mastodon_api/controllers/status_controller_test.exs