mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-11-02 16:37:19 -04:00
Fix bug with posting media on replies
This commit is contained in:
parent
02f0ee560a
commit
ac02b941c0
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user