Skip getting the post again when getting file metadata for a post (#9879)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
60393f1cad
Коммит
ba627c0f92
@@ -94,7 +94,7 @@ func (a *App) getFileMetadataForPost(post *model.Post) ([]*model.FileInfo, *mode
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
return a.GetFileInfosForPost(post.Id, false)
|
||||
return a.GetFileInfosForPost(post.Id)
|
||||
}
|
||||
|
||||
func (a *App) getEmojisAndReactionsForPost(post *model.Post) ([]*model.Emoji, []*model.Reaction, *model.AppError) {
|
||||
|
||||
Ссылка в новой задаче
Block a user