user_groups: Add can_mention_group_id field to UserGroup objects.

This commit adds code to include can_mention_group_id field to
UserGroup objects passed with response of various endpoints
including "/register" endpoint and also in the group object
send with user group creation event.

Fixes a part of #25927.
This commit is contained in:
Sahil Batra
2023-06-15 13:51:13 +05:30
committed by Tim Abbott
parent 7aaf34fd7e
commit e6accb0ad9
6 changed files with 29 additions and 0 deletions

View File

@@ -795,6 +795,7 @@ exports.fixtures = {
members: [1],
is_system_group: false,
direct_subgroup_ids: [2],
can_mention_group_id: 11,
},
},