From 96d323e0ed1fc1fe94fb184cc0e2011d90a69926 Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:28:50 +0800 Subject: [PATCH] Fetch sender_timestamp for future use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WhatsApp doesn't show when a reaction was made, and I don't want to mess with a popup in the HTML yet. Let’s just fetch the data for now. It might come in handy later. Credit to @tlcameron3 from #79 --- Whatsapp_Chat_Exporter/android_handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Whatsapp_Chat_Exporter/android_handler.py b/Whatsapp_Chat_Exporter/android_handler.py index 5c0b2ab..8d7dbad 100644 --- a/Whatsapp_Chat_Exporter/android_handler.py +++ b/Whatsapp_Chat_Exporter/android_handler.py @@ -517,7 +517,8 @@ def _get_reactions(db, data): message_add_on_reaction.reaction, message_add_on.from_me, jid.raw_string as sender_jid_raw, - chat_jid.raw_string as chat_jid_raw + chat_jid.raw_string as chat_jid_raw, + message_add_on_reaction.sender_timestamp FROM message_add_on INNER JOIN message_add_on_reaction ON message_add_on._id = message_add_on_reaction.message_add_on_row_id @@ -540,6 +541,7 @@ def _get_reactions(db, data): parent_id = row["parent_message_row_id"] reaction = row["reaction"] chat_id = row["chat_jid_raw"] + _react_timestamp = row["sender_timestamp"] if chat_id and chat_id in data: chat = data[chat_id]