Log entry "not enough messages to train a classifier"

Hello,
since last update of the mail app I have following warning in my nextcloud log:
“not enough messages to train a classifier”
It is shown ~ every hour.

Is something wrong with the installation? Should this be really a warning?

Thanks!

Nextcloud version: 18.0.6
Mail-App version: 1.4.0

Good point. I guess it should be a info or debug statement. The code in question is at https://github.com/nextcloud/mail/blob/7d695701631060bf1d929d9e15de99e4b6e2fb68/lib/Service/Classification/ImportanceClassifier.php#L175. Mind submitting your first pull request to our repo? :slight_smile:

Cheers

Yes, I can submit a pull request. Is there a small HowTo? Do I need to have access rights?
I think this line should also be changed:

1 Like

See https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests

Good catch! Indeed both lines should be changed.

I have the some error every hour. Thanks for proceeding the request!