Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Forward images/media to admin group when banned by meta #181

Open
dsent opened this issue Nov 27, 2024 · 3 comments
Open

[Improvement] Forward images/media to admin group when banned by meta #181

dsent opened this issue Nov 27, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@dsent
Copy link

dsent commented Nov 27, 2024

The title is basically it.
It's hard to distinguish false positives when a user is banned for the image without text, as there's no image forwarded to admin group. You have to dig into recent actions in the main group and match the time to figure out what's what.

@dsent
Copy link
Author

dsent commented Nov 27, 2024

This probably deserves a separate issue, but it's also impossible to unban/ban for real (after a softban) a spammer marked for images without text. You just get this:

error: failed confirmation ban: failed to get clean message: no original message found in callback msgsData: "permanently banned {---}\n\nspam detection results\n- stopword: ham, not found\n- images: spam, images without text\n- cas: ham, record not found\n- message length: ham, too short"

Is there a better way to identify messages internally than searching for message text? Maybe adding some ID to messages in admin group can help that?

@dsent
Copy link
Author

dsent commented Dec 14, 2024

Created a separate issue #198 for the confirmation error.

@umputun
Copy link
Owner

umputun commented Dec 14, 2024

I don't mind. If anyone want to make a pr (should be not hard to do) I'll consider

@umputun umputun added the help wanted Extra attention is needed label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants