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:
Arkshine 2023-05-05 02:00:49 +02:00 committed by GitHub
parent 69cbe1f3ee
commit d79fea7e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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");