diff options
Diffstat (limited to 'api4/post.go')
-rw-r--r-- | api4/post.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/post.go b/api4/post.go index 0cd791c6f..3a957a26f 100644 --- a/api4/post.go +++ b/api4/post.go @@ -69,6 +69,7 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) { } c.App.SetStatusOnline(c.Session.UserId, c.Session.Id, false) + c.App.UpdateLastActivityAtIfNeeded(c.Session) w.WriteHeader(http.StatusCreated) w.Write([]byte(rp.ToJson())) |