Only update session activity on specific endpoints (#7549)
Этот коммит содержится в:
коммит произвёл
Chris
родитель
5e69ce099f
Коммит
3e144f82e2
@@ -716,6 +716,8 @@ func viewChannel(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
c.App.UpdateLastActivityAtIfNeeded(c.Session)
|
||||
|
||||
// Returning {"status": "OK", ...} for backwards compatability
|
||||
resp := &model.ChannelViewResponse{
|
||||
Status: "OK",
|
||||
|
||||
Ссылка в новой задаче
Block a user