summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-12 12:35:47 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-12 12:35:47 -0500
commitc1ab5adb209cefde121aff308b77e470368422cd (patch)
treea5f11345a5a0ea2447300eadea59e948e8003c5e /model
parent67b92f32481dba243786821ed3eb189c0bd7261d (diff)
parentbe43522117e637271509cf24244f554a437c0578 (diff)
downloadchat-c1ab5adb209cefde121aff308b77e470368422cd.tar.gz
chat-c1ab5adb209cefde121aff308b77e470368422cd.tar.bz2
chat-c1ab5adb209cefde121aff308b77e470368422cd.zip
Merge pull request #1410 from hmhealey/plt906
PLT-906 Added ChannelExtra.MemberCount field
Diffstat (limited to 'model')
-rw-r--r--model/channel_extra.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/model/channel_extra.go b/model/channel_extra.go
index c6f0ca192..55da588af 100644
--- a/model/channel_extra.go
+++ b/model/channel_extra.go
@@ -23,8 +23,9 @@ func (o *ExtraMember) Sanitize(options map[string]bool) {
}
type ChannelExtra struct {
- Id string `json:"id"`
- Members []ExtraMember `json:"members"`
+ Id string `json:"id"`
+ Members []ExtraMember `json:"members"`
+ MemberCount int64 `json:"member_count"`
}
func (o *ChannelExtra) ToJson() string {