From 92d710bce81dcecec05c68f7ba7cd254e2e26809 Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:57:28 +0800 Subject: [PATCH] Differentiate group and personal calls --- Whatsapp_Chat_Exporter/ios_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Whatsapp_Chat_Exporter/ios_handler.py b/Whatsapp_Chat_Exporter/ios_handler.py index a0296a7..8034eba 100644 --- a/Whatsapp_Chat_Exporter/ios_handler.py +++ b/Whatsapp_Chat_Exporter/ios_handler.py @@ -411,7 +411,8 @@ def calls(db, data, timezone_offset, filter_chat): call.sender = name or fallback call.meta = True call.data = ( - f"A {'video' if content['ZVIDEO'] == 1 else 'voice'} " + f"A {'group ' if content['ZGROUPJIDSTRING'] is not None else ''}" + f"{'video' if content['ZVIDEO'] == 1 else 'voice'} " f"call {'to' if call.from_me else 'from'} " f"{call.sender} was " )