# Reassigning to a group creates a /u/ link in the @group mention

**URL:** <https://meta.discourse.org/t/reassigning-to-a-group-creates-a-u-link-in-the-group-mention/263659>\
**Category:** Bug\
**Tags:** pr-welcome, assign\
**Created:** [May 3, 2023, 10:21am UTC](https://meta.discourse.org/t/reassigning-to-a-group-creates-a-u-link-in-the-group-mention/263659 "2023-05-03T10:21:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [May 3, 2023, 2:34pm UTC](https://meta.discourse.org/t/reassigning-to-a-group-creates-a-u-link-in-the-group-mention/263659/2 "2023-05-03T14:34:13Z")

</div>

It looks like it misses `api.addGroupPostSmallActionCode("reassigned_group");` here:

> <https://github.com/discourse/discourse-assign/blob/69cbe1f3eeca90fb7207a47ecd265376d2142f18/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js#L975-L980>

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#L12-L27)  
[https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/widgets/post-small-action.js#L82-L84](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/widgets/post-small-action.js#L82-L84)

---

_[View the full topic](https://meta.discourse.org/t/reassigning-to-a-group-creates-a-u-link-in-the-group-mention/263659)._
