Fix error from quote in channel autocomplete (#5092)

This commit is contained in:
Joram Wilander
2017-01-17 09:15:57 -05:00
committed by Harrison Healey
parent b778db24a7
commit 28599d1df8

View File

@@ -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)
}