diff options
author | Corey Hulen <corey@hulen.com> | 2017-01-03 11:45:45 -0500 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-01-03 13:45:45 -0300 |
commit | f48c646208cb5227b8f6c6a5139bf9af66da802d (patch) | |
tree | 99c53f9bf77f43705933c78e062061177b948aa5 /store/store.go | |
parent | f94e220c88e2c233536f48ce42a2dfba8c3403b8 (diff) | |
download | chat-f48c646208cb5227b8f6c6a5139bf9af66da802d.tar.gz chat-f48c646208cb5227b8f6c6a5139bf9af66da802d.tar.bz2 chat-f48c646208cb5227b8f6c6a5139bf9af66da802d.zip |
Fixing should send event removing extra go channel creation (#4942)
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index 9fe566844..88a553b7c 100644 --- a/store/store.go +++ b/store/store.go @@ -108,6 +108,7 @@ type ChannelStore interface { IsUserInChannelUseCache(userId string, channelId string) bool GetMemberForPost(postId string, userId string) StoreChannel InvalidateMemberCount(channelId string) + GetMemberCountFromCache(channelId string) int64 GetMemberCount(channelId string, allowFromCache bool) StoreChannel RemoveMember(channelId string, userId string) StoreChannel PermanentDeleteMembersByUser(userId string) StoreChannel |