summaryrefslogtreecommitdiffstats
path: root/model/team_stats.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-11-04 12:27:19 -0400
committerChristopher Speller <crspeller@gmail.com>2016-11-04 12:27:19 -0400
commit00787974d0a87b1a54f15cf75d2dab398546b87e (patch)
tree6f41b56b10183b6543309b790cd13b1fbf7559af /model/team_stats.go
parent263f29068386cdd3b5393e00ce97f776532c723f (diff)
downloadchat-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.go5
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 {