summaryrefslogtreecommitdiffstats
path: root/model/search_params.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/search_params.go')
-rw-r--r--model/search_params.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/model/search_params.go b/model/search_params.go
index 481671ab5..21aa69a0d 100644
--- a/model/search_params.go
+++ b/model/search_params.go
@@ -12,11 +12,12 @@ var searchTermPuncStart = regexp.MustCompile(`^[^\pL\d\s#"]+`)
var searchTermPuncEnd = regexp.MustCompile(`[^\pL\d\s*"]+$`)
type SearchParams struct {
- Terms string
- IsHashtag bool
- InChannels []string
- FromUsers []string
- OrTerms bool
+ Terms string
+ IsHashtag bool
+ InChannels []string
+ FromUsers []string
+ OrTerms bool
+ IncludeDeletedChannels bool
}
var searchFlags = [...]string{"from", "channel", "in"}