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

[Enhancement] Exclude certain users from word ban list #161

Open
Xanadu16 opened this issue Sep 7, 2014 · 1 comment
Open

[Enhancement] Exclude certain users from word ban list #161

Xanadu16 opened this issue Sep 7, 2014 · 1 comment

Comments

@Xanadu16
Copy link

Xanadu16 commented Sep 7, 2014

So I can exclude streamer-senpai from the ban list in case he says anything.

@hugomg
Copy link
Collaborator

hugomg commented Sep 7, 2014

I'm not sure if its worth the trouble to implement a customiseable whitelist. Maybe just check info.from in Room.prototype.addMessage and do a hardcoded whitelist for the streamer?

Alternatively, it might be possible to test if a user is an admin by inspecting info.labels.

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

No branches or pull requests

3 participants