[MM-42782] Incoming webhooks change their creator's status (#22050)

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Konstantinos Pittas
2023-02-03 10:56:47 +02:00
коммит произвёл GitHub
родитель f713862041
Коммит 56424a7601
13 изменённых файлов: 43 добавлений и 24 удалений

Просмотреть файл

@@ -70,7 +70,7 @@ func (a *App) CreateCommandPost(c request.CTX, post *model.Post, teamID string,
}
if response.ResponseType == model.CommandResponseTypeInChannel {
return a.CreatePostMissingChannel(c, post, true)
return a.CreatePostMissingChannel(c, post, true, true)
}
if (response.ResponseType == "" || response.ResponseType == model.CommandResponseTypeEphemeral) && (response.Text != "" || response.Attachments != nil) {