]> cat aescling's git repositories - mastodon.git/commit
Add ability to change content-type when editing a toot
authorClaire <claire.github-309c@sitedethib.com>
Thu, 10 Feb 2022 08:13:27 +0000 (09:13 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Thu, 10 Feb 2022 18:10:14 +0000 (19:10 +0100)
commitabd113167b4f50d2ca6b938fcb52997ab6080b0b
treeb85d72f8667daa92a5e984e93ea30cd0ebc54cf5
parentf1a6f9062e00c0651680bf4d5d750ec0b078ac5a
Add ability to change content-type when editing a toot

Content-type defaults to edited toot's content-type to avoid surprising
behaviors when using clients that do not support this feature.
app/controllers/api/v1/statuses_controller.rb
app/models/status.rb
app/services/update_status_service.rb