summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-11-12 11:25:46 -0500
committerhmhealey <harrisonmhealey@gmail.com>2015-11-12 11:25:46 -0500
commitbe43522117e637271509cf24244f554a437c0578 (patch)
tree53b3d49a095efa96fa80592fdc2a5f5257b78058 /store/store.go
parent13a251a5ee940383e5a026284275b1f31fb476df (diff)
downloadchat-be43522117e637271509cf24244f554a437c0578.tar.gz
chat-be43522117e637271509cf24244f554a437c0578.tar.bz2
chat-be43522117e637271509cf24244f554a437c0578.zip
Added ChannelExtra.MemberCount field to reflect the actual member count when we truncate the list of members to 20
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 ce4d90883..13b59b582 100644
--- a/store/store.go
+++ b/store/store.go
@@ -70,6 +70,7 @@ type ChannelStore interface {
UpdateMember(member *model.ChannelMember) StoreChannel
GetMembers(channelId string) StoreChannel
GetMember(channelId string, userId string) StoreChannel
+ GetMemberCount(channelId string) StoreChannel
RemoveMember(channelId string, userId string) StoreChannel
GetExtraMembers(channelId string, limit int) StoreChannel
CheckPermissionsTo(teamId string, channelId string, userId string) StoreChannel