FIX: Reassigning to a group creates an incorrect mention's link (#468)
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.
This commit is contained in:
parent
69cbe1f3ee
commit
d79fea7e4f
|
@ -974,6 +974,7 @@ export default {
|
|||
|
||||
withPluginApi("0.12.2", (api) => {
|
||||
api.addGroupPostSmallActionCode("assigned_group");
|
||||
api.addGroupPostSmallActionCode("reassigned_group");
|
||||
api.addGroupPostSmallActionCode("unassigned_group");
|
||||
api.addGroupPostSmallActionCode("assigned_group_to_post");
|
||||
api.addGroupPostSmallActionCode("unassigned_group_from_post");
|
||||
|
|
Loading…
Reference in New Issue