[MM-23017] Add check for groups to SendNotifications (#14039)
* MM-23017 Check group mentions as part of notification logic * Add nil groups to existing test cases * MM-23017 Add tests for insertGroupMention and addGroupMention * MM-23017 Add tests for getExplicitMentions that have groups * Add tests for group store GetMemberUsersNotInChannel * MM-23017 Add tests for AllowGroupMentions * MM-23017 Fix error message name * MM-23017 Swap Checks to Name * MM-23017 Code review fixes * Rename var and fix allowGroupMentions test * MM-23017 Use GetMemberUsersInTeam inside of insertGroupMentions * MM-23017 use group mentions permission * Actually call GetMemberUsersInTeam * Remove unnecessary new line * Uncomment filter allow reference * MM-23017 Fix group channel notifications * Update store layer * MM-23017 Improve test coverage for group channels * Trigger CI * Trigger CI
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
29fae242e1
Коммит
e88ba85d60
@@ -1600,6 +1600,10 @@
|
||||
"id": "api.plugin.verify_plugin.app_error",
|
||||
"translation": "Unable to verify plugin signature."
|
||||
},
|
||||
{
|
||||
"id": "api.post.check_for_out_of_channel_group_users.message.none",
|
||||
"translation": "@{{.GroupDisplayName}} has no members on this team"
|
||||
},
|
||||
{
|
||||
"id": "api.post.check_for_out_of_channel_groups_mentions.message.multiple",
|
||||
"translation": "@{{.Usernames}} and @{{.LastUsername}} did not get notified by this mention because they are not in the channel. They cannot be added to the channel because they are not a member of the linked groups. To add them to this channel, they must be added to the linked groups."
|
||||
|
||||
Ссылка в новой задаче
Block a user