Disable media post editing
Summary
Reported by @ChrisDoogood
We need to match the front-end for web and not allow members to edit media attachments in posts. This is because it causes major issues behind the scenes; one example problem is that on image change, all previous interaction is lost, presumably this happens for video also.
Steps to reproduce
- Make a post with an image.
- Comment on the post.
- Edit the image.
- Note your comment is gone.
Platform information
Reported iOS, replicated Android (S10) likely platform agnostic.
What is the current bug behavior?
User can edit their image post so there are many things that break when they do this.
What is the expected correct behavior?
Disable editing of already posted images and videos.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)