Dexter2389 / whatsapp-backup-chat-viewer

Extract WhatsApp conversations from the app's SQLite database and exporting them as JSON or TXT files
BSD 2-Clause "Simplified" License
34 stars 5 forks source link

[BUG] Chats to a jid not in Contacts DB overwrite each other in file 'None.txt' #39

Open kuhnst-akros-ch opened 1 month ago

kuhnst-akros-ch commented 1 month ago

Chats with a single contact (no group-chats) end up in file None.txt when the contact is not in wadb table wa_contacts.

And since the file is overwritten for each chat, the result contains only the last such chat.

Solution is quite easy, use jid part before '@' as file name and contact info.