[MM-29217] Remove Posts.ParentId (#17923)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
757dc96461
Коммит
d181ae9262
@@ -74,7 +74,6 @@ func (a *App) CreateCommandPost(c *request.Context, post *model.Post, teamID str
|
||||
}
|
||||
|
||||
if (response.ResponseType == "" || response.ResponseType == model.CommandResponseTypeEphemeral) && (response.Text != "" || response.Attachments != nil) {
|
||||
post.ParentId = ""
|
||||
a.SendEphemeralPost(post.UserId, post)
|
||||
}
|
||||
|
||||
@@ -570,7 +569,6 @@ func (a *App) HandleCommandResponsePost(c *request.Context, command *model.Comma
|
||||
post := &model.Post{}
|
||||
post.ChannelId = args.ChannelId
|
||||
post.RootId = args.RootId
|
||||
post.ParentId = args.ParentId
|
||||
post.UserId = args.UserId
|
||||
post.Type = response.Type
|
||||
post.SetProps(response.Props)
|
||||
|
||||
Ссылка в новой задаче
Block a user