[GH-ISSUE #25] Contact support if missing wa.db suggestion #17

Open
opened 2026-03-13 15:17:19 +03:00 by kerem · 1 comment
Owner

Originally created by @jfdg01 on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/absadiki/whatsapp-msgstore-viewer/issues/25

Hello,

Since it's sometimes possible for phones to export the Whatsapp contacts (also the contacts in Google Account and local data, ofc) to a neat contacts.vcf, adding a parser to link the names and the phone numbers seems feasible.

Is this possible? If so, I could try to do it myself, otherwise inform me and I can investigate it.

Thanks.

Originally created by @jfdg01 on GitHub (Jan 28, 2026). Original GitHub issue: https://github.com/absadiki/whatsapp-msgstore-viewer/issues/25 Hello, Since it's sometimes possible for phones to export the Whatsapp contacts (also the contacts in Google Account and local data, ofc) to a neat contacts.vcf, adding a parser to link the names and the phone numbers seems feasible. Is this possible? If so, I could try to do it myself, otherwise inform me and I can investigate it. Thanks.
Author
Owner

@absadiki commented on GitHub (Jan 29, 2026):

Hi @jfdg01, thanks for the suggestion, that’s an interesting idea.

Yes, I think it might be possible. From a code perspective, you’d mainly need to extend the load_contact logic.

That said, it’s not very straightforward. In wa.db, we find the link between the JID and the phone number, whereas a contacts.vcf typically only contains the contact name and phone number. You’d likely need to infer or reconcile the JID ↔ phone number mapping from msgstore.db itself, which may not always be reliable.

Still, if you’d like to experiment with this, feel free to investigate and share your findings :)

<!-- gh-comment-id:3815289549 --> @absadiki commented on GitHub (Jan 29, 2026): Hi @jfdg01, thanks for the suggestion, that’s an interesting idea. Yes, I think it might be possible. From a code perspective, you’d mainly need to extend the [load_contact](https://github.com/absadiki/whatsapp-msgstore-viewer/blob/8fce2779339c499537945a3c0d9f7393e07559e0/dbs/abstract_db.py#L137) logic. That said, it’s not very straightforward. In wa.db, we find the link between the JID and the phone number, whereas a contacts.vcf typically only contains the contact name and phone number. You’d likely need to infer or reconcile the JID ↔ phone number mapping from msgstore.db itself, which may not always be reliable. Still, if you’d like to experiment with this, feel free to investigate and share your findings :)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-msgstore-viewer#17
No description provided.