Ignore/Mute/Block user (hide user's messages)
Created by: slider23
Request command /mute
or /hide
of something.
/mute @username
- and no more new messages of @username
in chat for me.
Relevant code
Client-side MVP:
- Keep a
localStorage
list of muted user ID's - Conditionally show a
*user is muted*
message in place of the muted users actual message- This has to be supported in the main message feed and thread message feed
- Potentially click to toggle the users actual message
- The message could be completely hidden but I'd prefer to have an indicator to have some context when someone else responds to them and it works well with the unreads (no stuck unreads)
- For notifications, we block on the client-side when we receive them
- For push notifications, we lookup and block when we receive them in the service worker
This approach will only work for the webapp
(browser, including mobile web), and the desktop client. This won't address the email notifications, iOS/Android apps, IRC, or any other API clients.