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

[Feature Request] [NOWEB] Ignore contacts not to be synced #594

Closed
gamoridev opened this issue Oct 18, 2024 · 5 comments
Closed

[Feature Request] [NOWEB] Ignore contacts not to be synced #594

gamoridev opened this issue Oct 18, 2024 · 5 comments

Comments

@gamoridev
Copy link

gamoridev commented Oct 18, 2024

Hello!
It's possible to ignore certain contacts, maybe on session creation, not to be synced?

The idea is to given list of contacts, exclude them from the Full Sync process and don't storage any info from these contacts.

patron:PLUS

@devlikepro
Copy link
Contributor

devlikepro commented Oct 18, 2024

Hi! Could you explain your pain points?
like storage is nothing for saving contacts (even if you have 100K, that's fine), so not sure what we'll solve with that approach 🤔
For /contacts/ we're adding limit&offset parameters, so you filter this properly as well #371

patron:PRO

@devlikepro
Copy link
Contributor

devlikepro commented Oct 18, 2024

don't storage any info from these contacts

Do you mean like ignore incoming messages and etc?

patron:PRO

@gamoridev
Copy link
Author

gamoridev commented Oct 18, 2024

don't storage any info from these contacts

Do you mean like ignore incoming messages and etc?

Yes! I don't want to store anything from contacts on this "ignore" list.

Hi! Could you explain your pain points? like storage is nothing for saving contacts (even if you have 100K, that's fine), so not sure what we'll solve with that approach 🤔 For /contacts/ we're adding limit&offset parameters, so you filter this properly as well #371

I'll probably have many users with huge amount of messages and contacts, .ie:
image

But not every "chat|contact" needs to be synced. So I was thinking in minimize the cost of storage (currently in MongoDB Atlas).

Right know I'll probably delete data manually and sanitize the database, but it would be nice if I could do something directly on Waha.

patron:PLUS

@devlikepro
Copy link
Contributor

devlikepro commented Oct 21, 2024

oh, do you want to be in free tier there?
Unlikely we'll implement the request at all, but may be we'll add cleanup API in the future, hit +1 there if you need it!
#592

patron:PRO

@gamoridev
Copy link
Author

gamoridev commented Oct 21, 2024

oh, do you want to be in free tier there? Unlikely we'll implement the request at all, but may be we'll add cleanup API in the future, hit +1 there if you need it! #592

I've never mentioned free tier.
But ok, I'll follow updates from #592 then.

patron:PLUS

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

2 participants