diff --git a/store/sql_channel_store.go b/store/sql_channel_store.go index 2ab9d87c11..66562ae67d 100644 --- a/store/sql_channel_store.go +++ b/store/sql_channel_store.go @@ -1292,7 +1292,7 @@ func (s SqlChannelStore) performSearch(searchQuery string, term string, paramete result := StoreResult{} // these chars have special meaning and can be treated as spaces - for _, c := range specialSearchChar { + for _, c := range specialUserSearchChar { term = strings.Replace(term, c, " ", -1) }