diff options
author | Wim <wim@42.be> | 2016-09-17 15:19:18 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-09-17 15:19:18 +0200 |
commit | 16ed2aca6a3da13ad7eae394028a5918b1a6e49f (patch) | |
tree | 45977475fc9bdda5b464e728562743d485023cf4 /vendor/github.com/mattermost/platform/model/status.go | |
parent | 0f530e7902f71c8f66b6b697a7d004e9f45bd9da (diff) | |
download | matterbridge-msglm-16ed2aca6a3da13ad7eae394028a5918b1a6e49f.tar.gz matterbridge-msglm-16ed2aca6a3da13ad7eae394028a5918b1a6e49f.tar.bz2 matterbridge-msglm-16ed2aca6a3da13ad7eae394028a5918b1a6e49f.zip |
Sync with mattermost 3.4.0
Diffstat (limited to 'vendor/github.com/mattermost/platform/model/status.go')
-rw-r--r-- | vendor/github.com/mattermost/platform/model/status.go | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/vendor/github.com/mattermost/platform/model/status.go b/vendor/github.com/mattermost/platform/model/status.go index 8bf26f2f..f4ad8e77 100644 --- a/vendor/github.com/mattermost/platform/model/status.go +++ b/vendor/github.com/mattermost/platform/model/status.go @@ -9,16 +9,19 @@ import ( ) const ( - STATUS_OFFLINE = "offline" - STATUS_AWAY = "away" - STATUS_ONLINE = "online" - STATUS_CACHE_SIZE = 10000 + STATUS_OFFLINE = "offline" + STATUS_AWAY = "away" + STATUS_ONLINE = "online" + STATUS_CACHE_SIZE = 10000 + STATUS_CHANNEL_TIMEOUT = 20000 // 20 seconds ) type Status struct { UserId string `json:"user_id"` Status string `json:"status"` + Manual bool `json:"manual"` LastActivityAt int64 `json:"last_activity_at"` + ActiveChannel string `json:"active_channel"` } func (o *Status) ToJson() string { |