In this commit https://github.com/discourse/discourse/commit/e90f9e5cc47 I tried to fix bug mentioned here https://meta.discourse.org/t/reply-then-edit-to-add-quote-notification-redundancy/138358
The idea was that when a user replies to a post and then edit and for example add mention or quote, we should not create another notification.
However, that solution was broken and created new bug mentioned here. https://meta.discourse.org/t/edits-not-being-stored-in-user-actions-table/145025
So if for example admin first like the post of the user, and then edit, we already got
like notification, but it doesn’t mean that edit one should be skipped.
So I reverted original solution and now we are allowing to skip notification if we have notification of the exact same type or type of
edited_group (replied, mentioned, quoted, edited)