summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-02-27 17:43:23 -0500
committerChristopher Speller <crspeller@gmail.com>2017-02-27 17:43:23 -0500
commit83c113595ace467ad34f05e35fb2282fa8631a17 (patch)
treecb69e0bf9d2a04e0d622e5151181c65527bc90bc /store/store.go
parent55752fb359f805196e9acc1497cee658d30fa6ed (diff)
downloadchat-83c113595ace467ad34f05e35fb2282fa8631a17.tar.gz
chat-83c113595ace467ad34f05e35fb2282fa8631a17.tar.bz2
chat-83c113595ace467ad34f05e35fb2282fa8631a17.zip
Revert "Adding caching to get channel member (#5518)"
This reverts commit ba028ed74b69bd1dd902344663fbf8ba4f1dfb87.
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/store/store.go b/store/store.go
index 06564a8c2..4226f03a5 100644
--- a/store/store.go
+++ b/store/store.go
@@ -106,8 +106,7 @@ type ChannelStore interface {
SaveMember(member *model.ChannelMember) StoreChannel
UpdateMember(member *model.ChannelMember) StoreChannel
GetMembers(channelId string, offset, limit int) StoreChannel
- GetMember(channelId string, userId string, allowFromCache bool) StoreChannel
- InvalidateMember(channelId string, userId string)
+ GetMember(channelId string, userId string) StoreChannel
GetAllChannelMembersForUser(userId string, allowFromCache bool) StoreChannel
InvalidateAllChannelMembersForUser(userId string)
IsUserInChannelUseCache(userId string, channelId string) bool