mastodon / mastodon

Your self-hosted, globally interconnected microblogging community
https://joinmastodon.org
GNU Affero General Public License v3.0
46.9k stars 6.93k forks source link

Allow blocking of usernames across instances #30556

Open KDederichs opened 4 months ago

KDederichs commented 4 months ago

Pitch

The ability for users to block the username portion of the handle would be nice. I'd imagine it could be implemented as either a context menu button like "Block UsernameXY across all instances" or somewhere in the settings where you can just enter their username. I suppose it also should be case insensitive (or at least have to option to be).

Motivation

Motivation for that would be that I get some bots in my timeline that I want to get rid of but they pop up from time to time using the same name, just on different instances. A feature like that would be a somewhat reliable way to get rid of them for good (unless the name changes of course)

trwnh commented 4 months ago

If filtering them out is enough, then it could be covered by #18955 -- but if it's absolutely necessary to block every single one, then this would indeed be more complex, since blocking is not as simple as a filter.

KDederichs commented 4 months ago

I mean I'd be fine with just not having to see it, so that would suffice.

Though maybe the suggestion should change to be able to block on the server owner side, since said annoying bot usually comes with image attachments, so actually blocking it would save me some space if the messages don't even get to my server.