mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Minor status updates (#6889)
This commit is contained in:
committed by
Saturnino Abril
parent
87e62e8823
commit
2bfd7be8d1
@@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user