summaryrefslogtreecommitdiffstats
path: root/store/sql_channel_store.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-01-17 09:15:57 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-01-17 09:15:57 -0500
commit28599d1df8b982662ae001c8137421c28b668fef (patch)
tree0de46ffe6de3e4392af609c816a90d8714af54ba /store/sql_channel_store.go
parentb778db24a73231d3129f8bb1ee0181d3e4379d99 (diff)
downloadchat-28599d1df8b982662ae001c8137421c28b668fef.tar.gz
chat-28599d1df8b982662ae001c8137421c28b668fef.tar.bz2
chat-28599d1df8b982662ae001c8137421c28b668fef.zip
Fix error from quote in channel autocomplete (#5092)
Diffstat (limited to 'store/sql_channel_store.go')
-rw-r--r--store/sql_channel_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_channel_store.go b/store/sql_channel_store.go
index 2ab9d87c1..66562ae67 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)
}