Pass action to canSendModeratorActionAlert


Well-known member
Method canSendModeratorActionAlert in various entities returns false if the content is not visible.

This does make sense in many cases (usually one would not want to let users know that an invisible post got moved or merged) but on the other hand it is pretty inconvenient when you want to let users know why unapproved content (post, thread, etc.) is deleted.

If the action (lock, unlock, delete, etc.) was passed to those methods it would be easy to customize the behaviour by extending it.
Upvote 0
Top Bottom