KnugiHK / WhatsApp-Chat-Exporter

A customizable Android and iOS/iPadOS WhatsApp database parser that will give you the history of your WhatsApp conversations in HTML and JSON. Android Backup Crypt12, Crypt14, Crypt15, and new schema supported.
https://wts.knugi.dev/
MIT License
518 stars 76 forks source link

Recent groups - Not showing correct contact data #71

Closed txanetxarra closed 8 months ago

txanetxarra commented 8 months ago

Hi KnugiHK ,

First of all, congratulations for the WhatsApp-Chat-Exporter.

I've been playing around with it today and I have identified a bug on the program. I've converted my personal Whatsapp DB today, and I've noticed that, in the groups created during the last year, the conversion shows the name of the group for all messages sent by all members. As an example attached a screenshot of the group "Sorpresa!".

As you can see, the messages sent by all members are labeled as "Sorpresa!", and so, it's impossible to identify the sender.

This is happening either using or not the contacts database wa.db file.

I've also noticed that the html file name of the defective groups starts with some numbers. For example, for this group the file name is: "120363026294026347-Sorpresa .html".

For a group that correctly shows the sender nubmers / names, the file is, for example: "GroupName.html".

Also, I've been able to correctly export my messages for these groups with the "whatsapp-exporter" python tool, although this tool is not able to include media in the exported chats (https://github.com/chrrel/whatsapp-exporter).

I hope this information helps to improve the tool.

imagen

KnugiHK commented 8 months ago

Duplication of #67. Nevertheless, thanks for your detailed information.