Fix bug with posting media on replies

This commit is contained in:
Jason McBrayer 2018-05-22 09:05:16 -04:00
parent 02f0ee560a
commit ac02b941c0
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ def reply(request, id):
mastodon.status_post(status=form.cleaned_data['status'], mastodon.status_post(status=form.cleaned_data['status'],
visibility=form.cleaned_data['visibility'], visibility=form.cleaned_data['visibility'],
spoiler_text=form.cleaned_data['spoiler_text'], spoiler_text=form.cleaned_data['spoiler_text'],
media_ids=media_objects,
in_reply_to_id=id) in_reply_to_id=id)
return redirect(thread, id) return redirect(thread, id)
else: else: