diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-11-04 12:27:19 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-11-04 12:27:19 -0400 |
commit | 00787974d0a87b1a54f15cf75d2dab398546b87e (patch) | |
tree | 6f41b56b10183b6543309b790cd13b1fbf7559af /model/team_stats.go | |
parent | 263f29068386cdd3b5393e00ce97f776532c723f (diff) | |
download | chat-00787974d0a87b1a54f15cf75d2dab398546b87e.tar.gz chat-00787974d0a87b1a54f15cf75d2dab398546b87e.tar.bz2 chat-00787974d0a87b1a54f15cf75d2dab398546b87e.zip |
PLT-4481 Fix member count for team user lists and channel invite list (#4422)
* Fix member count for team user lists and channel invite list
* Fix client unit test
Diffstat (limited to 'model/team_stats.go')
-rw-r--r-- | model/team_stats.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/model/team_stats.go b/model/team_stats.go index 8634c3d1b..9042e76d6 100644 --- a/model/team_stats.go +++ b/model/team_stats.go @@ -9,8 +9,9 @@ import ( ) type TeamStats struct { - TeamId string `json:"team_id"` - MemberCount int64 `json:"member_count"` + TeamId string `json:"team_id"` + TotalMemberCount int64 `json:"total_member_count"` + ActiveMemberCount int64 `json:"active_member_count"` } func (o *TeamStats) ToJson() string { |