From 2bfd7be8d1479a7b3c4099548af14bd227ccb5d1 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 10 Jul 2017 14:49:43 -0400 Subject: Minor status updates (#6889) --- api4/post.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api4/post.go') diff --git a/api4/post.go b/api4/post.go index 886b64daa..3d0c681d1 100644 --- a/api4/post.go +++ b/api4/post.go @@ -55,6 +55,8 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) { return } + app.SetStatusOnline(c.Session.UserId, c.Session.Id, false) + w.WriteHeader(http.StatusCreated) w.Write([]byte(rp.ToJson())) } -- cgit v1.2.3-1-g7c22