Detach session activity update from statuses (#6379)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b868aa1dc7
Коммит
0ae6886513
@@ -222,6 +222,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
if c.Err == nil && h.isUserActivity && token != "" && len(c.Session.UserId) > 0 {
|
||||
app.SetStatusOnline(c.Session.UserId, c.Session.Id, false)
|
||||
app.UpdateLastActivityAtIfNeeded(c.Session)
|
||||
}
|
||||
|
||||
if c.Err == nil && (h.requireUser || h.requireSystemAdmin) {
|
||||
|
||||
Ссылка в новой задаче
Block a user