[MM-15925] Add includeDeleted flag to GetForPost in FileInfoStore (#11585)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c1f3c83d38
Коммит
8f4e03a52b
@@ -46,7 +46,7 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
|
||||
if len(post.FileIds) != 0 {
|
||||
fchan = make(chan store.StoreResult, 1)
|
||||
go func() {
|
||||
fileInfos, err := a.Srv.Store.FileInfo().GetForPost(post.Id, true, true)
|
||||
fileInfos, err := a.Srv.Store.FileInfo().GetForPost(post.Id, true, false, true)
|
||||
fchan <- store.StoreResult{Data: fileInfos, Err: err}
|
||||
close(fchan)
|
||||
}()
|
||||
|
||||
Ссылка в новой задаче
Block a user