some fixes for note edits
What does this PR do?
we got reports of people editing replies and seeing them unlinked from the original post
I can't replicate the problem, but as @kopper said on Discord, there's no real reason to even change the replyId
of a note!
So I "just" changed the code to always preserve it, regardless of what the frontend says.
While I was there, I also fixed a problem with the note_unread
repository, where repeatedly editing a note could cause a "duplicate key" error from the database.
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request
Merge request reports
Activity
added bug label
requested review from @Amelia, @supakaity, and @Marie
- Resolved by Marie
Would this interfere with this commit on upstream? https://github.com/misskey-dev/misskey/commit/4d6fab06de2af01909cb37a54a407fda7f15f0bf
- A deleted user
merged
mentioned in commit f26eb25a