Count posts to DMs as mentions when from webhooks (#4676)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
30dbc412ca
Коммит
f013d91b89
@@ -600,6 +600,9 @@ func sendNotifications(c *Context, post *model.Post, team *model.Team, channel *
|
||||
}
|
||||
|
||||
mentionedUserIds[otherUserId] = true
|
||||
if post.Props["from_webhook"] == "true" {
|
||||
mentionedUserIds[post.UserId] = true
|
||||
}
|
||||
} else {
|
||||
keywords := getMentionKeywordsInChannel(profileMap)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user