Created by: dakkar
There have been a bunch of changes to NoteCreateService
since the creation of NoteEditService
, that had not been applied to the latter. This PR does that.
It also adds the recent muting improvements, because if a muted note gets edited, we still don't want to be notified about it.
Finally, I think the current logic around muted threads and muted users is wrong: we want to notify when neither the thread nor the user are muted; otherwise, for example, notes in a muted thread from a non-muted user would get notified.
I've not actually tested this, but at least it builds.
NoteEdit should stay as close as possible to NoteCreate