]> cat aescling's git repositories - mastodon.git/commit
Add toot source to delete result to ease Delete & Redraft (#10669)
authorThibG <thib@sitedethib.com>
Sat, 11 May 2019 04:46:43 +0000 (06:46 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 11 May 2019 04:46:43 +0000 (06:46 +0200)
commit6d44f2441bf2aa14d11e481d9d2cfe82a74d81ed
tree80b436e6f6c0244b7a1f248bb62df1f2f1bf9db4
parentbe851321c037a921e055b175d64d0b54d313f8b3
Add toot source to delete result to ease Delete & Redraft (#10669)

* Return Status with raw text in raw_content when deleting a status

* Use raw content if available on delete & redraft

* Rename raw_content to text; do not serialize formatted content when source is requested
app/controllers/api/v1/statuses_controller.rb
app/javascript/mastodon/actions/statuses.js
app/javascript/mastodon/reducers/compose.js
app/serializers/rest/status_serializer.rb