-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(plugin): voiceMuteBlockedUsers #3001
base: main
Are you sure you want to change the base?
Conversation
Basically as the title describes. Normal block just restrains certain users from messaging you etc. This also voicemutes them. Option to do this automatic or with button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
were parts of this written with ai? this has a lot of unnecessary comments
Haha yes I was trying some ai comments on js docs 💀 |
Co-authored-by: goodbee <100511746+schoeneBiene@users.noreply.github.com>
Co-authored-by: goodbee <100511746+schoeneBiene@users.noreply.github.com>
- added README.md file - made sure to not unmute not blocked users - removed unnecessary comments
|
Uploaded images to the image thread and linked them.
Lags? What Lags? |
When I block someone using this plugin, it takes half a second before I can browse channels or do anything else |
How many users do you have blocked / muted in general? Searching the web I also found an insane high number for blocked people "22,549" and then another one for "5000" and I doubt you have reached any of those. |
Description: Refactored the automaticMuteBlockedUsers function to enhance performance and reduce resource usage. Implemented batch processing for muting blocked users, allowing multiple users to be muted in a single operation. Utilized a Set for storing blocked user IDs, improving lookup efficiency when checking if a user is blocked.
Basically as the title describes.
Normal block just restrains certain users from messaging you etc. -> This also voicemutes them.
Option to do this automatic or with button.
Before:
After: