summaryrefslogtreecommitdiffstats
path: root/app/post.go
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-08-24 11:36:39 +0200
committerGitHub <noreply@github.com>2018-08-24 11:36:39 +0200
commit5876b52ecd0b434dc8fcc0f278c3ce7dcae30d06 (patch)
tree8fa91548eb37ffa3370fb80160e971bb46d6775a /app/post.go
parentbba3bbd9f3e250cca0ce705e664382fe3ad6e78a (diff)
parentd2945cdd77bdf1ee03367a0d45624094fb936c19 (diff)
downloadchat-5876b52ecd0b434dc8fcc0f278c3ce7dcae30d06.tar.gz
chat-5876b52ecd0b434dc8fcc0f278c3ce7dcae30d06.tar.bz2
chat-5876b52ecd0b434dc8fcc0f278c3ce7dcae30d06.zip
Merge release-5.2
Diffstat (limited to 'app/post.go')
-rw-r--r--app/post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/post.go b/app/post.go
index d4649d64c..0eed87280 100644
--- a/app/post.go
+++ b/app/post.go
@@ -648,7 +648,7 @@ func (a *App) DeletePostFiles(post *model.Post) {
func (a *App) SearchPostsInTeam(terms string, userId string, teamId string, isOrSearch bool, includeDeletedChannels bool) (*model.PostSearchResults, *model.AppError) {
paramsList := model.ParseSearchParams(terms)
- includeDeleted := includeDeletedChannels && *a.Config().TeamSettings.ViewArchivedChannels
+ includeDeleted := includeDeletedChannels && *a.Config().TeamSettings.ExperimentalViewArchivedChannels
esInterface := a.Elasticsearch
if license := a.License(); esInterface != nil && *a.Config().ElasticsearchSettings.EnableSearching && license != nil && *license.Features.Elasticsearch {