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

Add the ability to ignore any message that contains a certain word #2630

Open
Justinzobel opened this issue Nov 20, 2024 · 1 comment
Open
Labels
A-Ignore O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement T-Feature Request to add a new feature which does not exist right now

Comments

@Justinzobel
Copy link

Your use case

What would you like to do?

We have a similar feature where we can get alerts for certain words in messages. I would like a way to ignore messages with certain text strings.

Why would you like to do it?

This has many uses:

  • It allows the user to filter out abusive content without having to read the content and then ignore the person. Offensive language could then be automatically hidden from the user.
  • Spoilers. Many social networks allow you to hide certain words or hash tags so you don't see spoilers for the latest game/movie/tv series
  • General filtering. You may be in a channel that has lots of activity and want to narrow it down to certain pieces of information that are relevant to you.

How would you like to achieve it?

The highlight words function already likely has most of the code to handle this, it just needs to be duplicated and reworked to hide messages from the chat window if they contain any of the user's predefined list of words. The messages could just blurred out with a message indicating that they were hidden by the user's preferences or hidden enitrely

Have you considered any alternatives?

I can't think of any.

Additional context

Message that are hidden shoudl not count towards unread messages or produce any alerts.

@dosubot dosubot bot added A-Ignore T-Feature Request to add a new feature which does not exist right now labels Nov 20, 2024
@Justinzobel
Copy link
Author

Ignore?

@t3chguy t3chguy transferred this issue from element-hq/element-web Nov 20, 2024
@dbkr dbkr added the O-Occasional Affects or can be seen by some users regularly or most users rarely label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Ignore O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement T-Feature Request to add a new feature which does not exist right now
Projects
None yet
Development

No branches or pull requests

2 participants