From a1319eb8358a17f225b08955301a0cd2025e9b28 Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Fri, 1 Apr 2022 17:17:43 +0800 Subject: [PATCH] Exclude default conversation from results --- Whatsapp_Chat_Exporter/extract.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Whatsapp_Chat_Exporter/extract.py b/Whatsapp_Chat_Exporter/extract.py index b32501a..aaa9325 100644 --- a/Whatsapp_Chat_Exporter/extract.py +++ b/Whatsapp_Chat_Exporter/extract.py @@ -215,7 +215,8 @@ def messages(db, data): messages.media_caption FROM messages LEFT JOIN messages_quotes - ON messages.quoted_row_id = messages_quotes._id;""") + ON messages.quoted_row_id = messages_quotes._id + WHERE messages.key_remote_jid <> '-1';""") i = 0 content = c.fetchone() while content is not None: