MM-39433: Fixes (*App).getEmbedsAndImages parameter. (#19103)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d3536087d7
Коммит
7b28367928
@@ -132,7 +132,7 @@ func (a *App) PreparePostForClient(originalPost *model.Post, isNewPost, isEditPo
|
||||
|
||||
func (a *App) PreparePostForClientWithEmbedsAndImages(originalPost *model.Post, isNewPost, isEditPost bool) *model.Post {
|
||||
post := a.PreparePostForClient(originalPost, isNewPost, isEditPost)
|
||||
post = a.getEmbedsAndImages(post, true)
|
||||
post = a.getEmbedsAndImages(post, isNewPost)
|
||||
return post
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user