main ← Arkshine:fix/invalid-group-link-in-post-action
opened 01:50PM - 04 May 23 UTC
_Reported here_: https://meta.discourse.org/t/reassigning-to-a-group-creates-a-u…-link-in-the-group-mention/263659
Reassigning to a group creates an `/u/` link in the `@group` mention instead of `/g/`.

The reason is the `reassigned_group` group small post action code is not registered, thus creating a user link by default.
Related Discourse code:
https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/widgets/post-small-action.js#L12-L27
https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/widgets/post-small-action.js#L82-L84