mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-06 14:37:39 +03:00
Get rid of v.messages counter
This commit is contained in:
parent
9e9caee639
commit
ccc2dd1128
2 changed files with 9 additions and 21 deletions
|
@ -597,7 +597,6 @@ func (s *Server) handlePublishWithoutResponse(r *http.Request, v *visitor) (*mes
|
|||
return nil, err
|
||||
}
|
||||
}
|
||||
v.IncrementMessages()
|
||||
if s.userManager != nil && v.user != nil {
|
||||
s.userManager.EnqueueStats(v.user.ID, v.Stats()) // FIXME this makes no sense for tier-less users
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue