It sure would be nice to have some automated reporting by keywords right about now…you know, the thing I was explicitly told was NOT gonna happen…🤬
#Spam #Nonsense #Moderation #Mastodon #Fedi #Fediverse #FediAdmin #MastoAdmin
It sure would be nice to have some automated reporting by keywords right about now…you know, the thing I was explicitly told was NOT gonna happen…🤬
#Spam #Nonsense #Moderation #Mastodon #Fedi #Fediverse #FediAdmin #MastoAdmin
Thinking it over, it would be very easy to do this actually.
Not saying it’s a good idea, just that it’s technically possible - and made easier by the technical details of federation.
A modified, rogue instance could scan each post/comment/toot as it federates in against a list of keywords, and use a bot account to report the ones that fail the scan back to the original instance.
Worse, this rogue instance might not mark the account as a bot.
@abff08f4813c@j4vcdedmiokf56h3ho4t62mlku.srv.us I’ve been begging for something official that could just report it to me and nobody else. Like a personal automatic reporting system for posts that i might wanna check out based on keywords like regex.
Ah, sounds like you basically want the opposite of https://github.com/db0/threativore/tree/main/threativore - this bot finds things based on regex matching, and then “reports” it - i.e. report as spam to the moderators/admins. You instead would want it to take a different action - I guess retooting it to you (or I suppose it could also email you a link to the toot).
I think, and keep in mind I haven’t ested this, but for a dev, it seems like this is still pretty easy to do by modifying threativore - just change this line here, https://github.com/db0/threativore/blob/main/threativore/threativore.py#L339 from the moderation-reporting call to the “notify me about interesting posts” call.
@abff08f4813c@j4vcdedmiokf56h3ho4t62mlku.srv.us Well I’m technically an admin of my own instance, so if it could live on my own instance and report like a normal user and not use the “forward to original instance” that’d be just fine. I got blocked by Eugen Rochko for suggesting such a thing.🤦♂️
Unfortunately, I think the ‘report to moderator’ function is handled by the code of the instance. E.g. in pyfedi it’s the instance’s server’s code that sends the message to the moderators and to the admins of the remote community/magazine, see https://codeberg.org/rimu/pyfedi/src/branch/main/app/post/routes.py#L1221 - so you’d have to modify your own instance’s source code to prevent this from happening as well. Probably easier to modify the code of the bot to send an email or a retoot instead.
Though interestingly there’s a version of pyfedi out there that’s missing this piece of code, see https://github.com/Jelloeater/pyfedi/blob/main/app/post/routes.py#L816