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

How would one go about blocking a specific user? #214

Open
mkaito opened this issue Dec 9, 2020 · 4 comments
Open

How would one go about blocking a specific user? #214

mkaito opened this issue Dec 9, 2020 · 4 comments

Comments

@mkaito
Copy link

mkaito commented Dec 9, 2020

Obnoxious people are a reality of life, especially on public Discord servers. While weechat has an /ignore feature, it only applies to IRC buffers. I'm not sure Bitlbee itself has such a feature. How would you suggest I go about removing all messages from a given Discord user from all my buffers?

Edit: Bitlbee has a block command, but it seems that this is "not supported by this protocol".

@dgw
Copy link
Contributor

dgw commented Dec 9, 2020

If you're primarily using the single client, using /ignore would be possible. BitlBee appears to set hostmasks for Discord users based on their nick & the account tag (e.g. person@my-discord-account) which you could ignore based on.

BitlBee doesn't seem to have a global ignore function, though, you're right. Not sure if there'd be broad interest in something like the ignore module for ZNC, but it certainly would help what you're asking!

@sm00th
Copy link
Owner

sm00th commented Dec 9, 2020

Either irc client's or bouncer's /ignore would be my go-to. Neither bitlbee nor bitlbee-discord have filtering capabilities atm.

The block command you mentioned is supposed to be used to send the block request to the server, i.e. the same request webclient sends when you use block there. This is undocumented but so is a lot of other things bitblee-discord does.

I am wondering whether blocking users in webclient actually removes their messages from the feed or just marks them somehow. Did you try using webclient's block capabilities?

@mkaito
Copy link
Author

mkaito commented Dec 9, 2020 via email

@sm00th
Copy link
Owner

sm00th commented Dec 10, 2020

But it also means the client does receive the message, presumably with some extra metadata to hide it.

Too bad it won't work out of the box. If said metadata is embedded in the message itself it might not be that hard to implement dropping these messages. If, however blocked status is stored in user structure it might be annoying to deal with on bigger servers. Will have to look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants