mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix error from quote in channel autocomplete (#5092)
This commit is contained in:
committed by
Harrison Healey
parent
b778db24a7
commit
28599d1df8
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user