summaryrefslogtreecommitdiffstats
path: root/model/status.go
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2017-03-24 18:23:32 +0100
committerGeorge Goldberg <george@gberg.me>2017-03-24 17:23:32 +0000
commit5bf6ae04dfedc2e504ea8af5c71b2e9a8287e2b5 (patch)
tree19445c4de5d31670ede7429a97e292b72c022368 /model/status.go
parent28ad645153b206ba84ddc4935280eaed94bb0138 (diff)
downloadchat-5bf6ae04dfedc2e504ea8af5c71b2e9a8287e2b5.tar.gz
chat-5bf6ae04dfedc2e504ea8af5c71b2e9a8287e2b5.tar.bz2
chat-5bf6ae04dfedc2e504ea8af5c71b2e9a8287e2b5.zip
[APIV4] GET /users/{user_id}/status - user status endpoint for apiV4 (#5824)
Diffstat (limited to 'model/status.go')
-rw-r--r--model/status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/status.go b/model/status.go
index fc1557887..e38f43fe4 100644
--- a/model/status.go
+++ b/model/status.go
@@ -22,7 +22,7 @@ type Status struct {
Status string `json:"status"`
Manual bool `json:"manual"`
LastActivityAt int64 `json:"last_activity_at"`
- ActiveChannel string `json:"active_channel" db:"-"`
+ ActiveChannel string `json:"-" db:"-"`
}
func (o *Status) ToJson() string {