-
-
Notifications
You must be signed in to change notification settings - Fork 143
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: Add a event for when the chatList filter changes #2511
Comments
for now try using this function WPP.whatsapp.Cmd.on('set_active_filter', (a) => { to see existing events window.require("WAWebCmd").Cmd._events |
Exact @dllsystem ! |
I will working in new way to create custom lists. Whatsapp is releasing a new function for do, and I use it |
You can follow in #2517 |
Thanks, I never used the |
Is your feature request related to a problem? Please describe.
When using the
WPP.chat.setChatList
, I can try to keep track of what type of filter was applied, but if the user clear/change the Chat Filter using WhatsApp native filters I lose track of what filter is currently applied.Describe the solution you'd like
An event that returns the current filter being applied.
Describe alternatives you've considered
Using a setInterval to check a __reactProps$ of an element that I found that has the current filter.
Additional context
The text was updated successfully, but these errors were encountered: