summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2018-01-31 08:26:40 -0600
committerJoram Wilander <jwawilander@gmail.com>2018-01-31 09:26:40 -0500
commite0ee73ef9963ab398bcc6011795ad23e8e003147 (patch)
tree37c773074588792a3badd2a68dfbbdbfa459164d /store/store.go
parent0c8968fb8df4ce302c928118cd81e75f5bef2861 (diff)
downloadchat-e0ee73ef9963ab398bcc6011795ad23e8e003147.tar.gz
chat-e0ee73ef9963ab398bcc6011795ad23e8e003147.tar.bz2
chat-e0ee73ef9963ab398bcc6011795ad23e8e003147.zip
ABC-79: Optimize channel autocomplete query (#8163)
* optimize channel autocomplete query * move to new autocomplete endpoint
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index 2742c0889..85f215ab9 100644
--- a/store/store.go
+++ b/store/store.go
@@ -154,6 +154,7 @@ type ChannelStore interface {
AnalyticsTypeCount(teamId string, channelType string) StoreChannel
ExtraUpdateByUser(userId string, time int64) StoreChannel
GetMembersForUser(teamId string, userId string) StoreChannel
+ AutocompleteInTeam(teamId string, term string) StoreChannel
SearchInTeam(teamId string, term string) StoreChannel
SearchMore(userId string, teamId string, term string) StoreChannel
GetMembersByIds(channelId string, userIds []string) StoreChannel