diff options
author | Dmitri Aizenberg <dmitri.aiz@gmail.com> | 2016-08-31 06:24:14 -0700 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-08-31 09:24:14 -0400 |
commit | dc09b7781ac310646014f05db23844ab2c6d63f4 (patch) | |
tree | 906f13501b8e30be3551fa18078429445e5ee094 /model/status.go | |
parent | db660bdf9cbea09197d8292a8ec8efda8ac41f38 (diff) | |
download | chat-dc09b7781ac310646014f05db23844ab2c6d63f4.tar.gz chat-dc09b7781ac310646014f05db23844ab2c6d63f4.tar.bz2 chat-dc09b7781ac310646014f05db23844ab2c6d63f4.zip |
PLT-1527 Add a slash command to set yourself away (#3752)
* added handlers for slash commands
* added manual status persistance
* added tests
* removed extra debug output and comments
* rebase - fixing the PR
* making echo messages after slash commands ephemeral
Diffstat (limited to 'model/status.go')
-rw-r--r-- | model/status.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model/status.go b/model/status.go index 8bf26f2f0..477b750d5 100644 --- a/model/status.go +++ b/model/status.go @@ -18,6 +18,7 @@ const ( type Status struct { UserId string `json:"user_id"` Status string `json:"status"` + Manual bool `json:"manual"` LastActivityAt int64 `json:"last_activity_at"` } |