diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-07-16 15:49:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 15:49:26 -0400 |
commit | 275731578e72d2c6e12cfb2fc315d3446474faec (patch) | |
tree | 25df7525ed2244c7dec5be44495b45ffc0ae1023 /api4/post.go | |
parent | 88eef609ab712097ff2b13a2ca45c31ea6fa7df2 (diff) | |
download | chat-275731578e72d2c6e12cfb2fc315d3446474faec.tar.gz chat-275731578e72d2c6e12cfb2fc315d3446474faec.tar.bz2 chat-275731578e72d2c6e12cfb2fc315d3446474faec.zip |
MM-10254 Add plugin APIs for getting/updating user statuses (#9101)
* Add plugin APIs for getting/updating user statuses
* Add and update tests
* Updates per feedback
Diffstat (limited to 'api4/post.go')
-rw-r--r-- | api4/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/post.go b/api4/post.go index 27ecd1584..b76e89964 100644 --- a/api4/post.go +++ b/api4/post.go @@ -64,7 +64,7 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) { return } - c.App.SetStatusOnline(c.Session.UserId, c.Session.Id, false) + c.App.SetStatusOnline(c.Session.UserId, false) c.App.UpdateLastActivityAtIfNeeded(c.Session) w.WriteHeader(http.StatusCreated) |