Wrong commit number in slack message

Hi there.

When I push 1-5 commits, gitea reports it to slack right. But any quantity more than 5 is reported as 5 for some reason.
For instance, I push 10 commits, but get the message as follows:

[org/repo:branch] 5 new commits pushed by someone.

Is it a configuration error?