Open dsent opened 3 weeks ago
From the code, I don't see how this is even possible. The check for approved users happens before any other checks are reached, including the image-only check (a part of the meta checks).
Are you sure you have not set ParanoidMode
(check all messages, env: 'PARANOID', cli: '--paranoid')? The other way to have the check invoked for active users is by setting FIRST_MESSAGES_COUNT
, which is by default 1 ("number of first messages to check").
I was able to reproduce. If you're okay with that, I can forward the logs to you privately (they contain some sensitive data). But my user was indeed banned by the bot while being in the whitelist (and, in fact, remaining in the whitelist after the ban).
And the reasons for the ban were:
I was able to reproduce. If you're okay with that, I can forward the logs to you privately (they contain some sensitive data). But my user was indeed banned by the bot while being in the whitelist (and, in fact, remaining in the whitelist after the ban).
sure, send it over. also configuration (docker compose or cli params) may help to reproduce it locally
should be fine on master, pls give it a try. the PR #177 explains what the issue was.
By the way, thanks for providing details and pushing the issue, which was real.
After enabling the images only check, we noticed that normal users, who were already in the white list, were banned by the bot after sending images without text. I believe this to be unintended behavior.