summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-12-13 19:23:36 -0800
committerenahum <nahumhbl@gmail.com>2016-12-14 00:23:36 -0300
commitaacbe995483b694e169acdc63136171dff3725d9 (patch)
treee60e67a1378ce929f42e41a49c2215a0289eae78 /store/store.go
parent51b794501e21e1d19a58bb6dc273a5425c03a107 (diff)
downloadchat-aacbe995483b694e169acdc63136171dff3725d9.tar.gz
chat-aacbe995483b694e169acdc63136171dff3725d9.tar.bz2
chat-aacbe995483b694e169acdc63136171dff3725d9.zip
PLT-4982 Adding caching to user profiles (#4782)
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go
index ffc325eea..236fbbc13 100644
--- a/store/store.go
+++ b/store/store.go
@@ -155,7 +155,8 @@ type UserStore interface {
GetProfilesByUsernames(usernames []string, teamId string) StoreChannel
GetAllProfiles(offset int, limit int) StoreChannel
GetProfiles(teamId string, offset int, limit int) StoreChannel
- GetProfileByIds(userId []string) StoreChannel
+ GetProfileByIds(userId []string, allowFromCache bool) StoreChannel
+ InvalidatProfileCacheForUser(userId string)
GetByEmail(email string) StoreChannel
GetByAuth(authData *string, authService string) StoreChannel
GetAllUsingAuthService(authService string) StoreChannel