Can't believe @pixelfed actually supports post edits, and they work π
They weren't that difficult to implement because I copied Mastodon's implementation down to the models, controllers and services π
https://github.com/pixelfed/pixelfed/blob/dev/app/Models/StatusEdit.php
https://github.com/pixelfed/pixelfed/blob/dev/app/Http/Controllers/StatusEditController.php
https://github.com/pixelfed/pixelfed/blob/dev/app/Services/Status/UpdateStatusService.php
Thanks :mastodon:
@dansup if I'm reading correctly this code will refuse to update the media on the post if it only has one media attachment? https://github.com/pixelfed/pixelfed/blob/dev/app/Services/Status/UpdateStatusService.php#L30
Though in the controller there doesn't seem to be any validation on that (that you can't change the media if there's only one attachment)