]> cat aescling's git repositories - mastodon.git/commit
Fix for issue #462
authorRakib Hasan <rmhasan@gmail.com>
Thu, 2 Feb 2017 02:07:38 +0000 (21:07 -0500)
committerRakib Hasan <rmhasan@gmail.com>
Sun, 19 Feb 2017 08:28:33 +0000 (08:28 +0000)
commit6d2301988fdc0118c5583f48ba6da4a3b8247ba4
tree9f94a389b53220af1fe997bbe807a20319821b33
parent9e99b8c068b11ec2d0f3b5d560cae0166c247342
Fix for issue #462
Modified uploadCompose action to send media ids of attached
media when sending a request. Modified create method in MediaController
to check if when posting a video, there are no other media attached
to the status by looking at the media ids sent from the uploadCompose
action.
app/assets/javascripts/components/actions/compose.jsx
app/controllers/api/v1/media_controller.rb