From 09a26dbe0418ab50ea0789b362a706a5dfb3ccfb Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Sun, 22 Feb 2026 17:53:02 +0800 Subject: [PATCH] Add placeholder for Android on polls --- Whatsapp_Chat_Exporter/__main__.py | 11 +++++------ Whatsapp_Chat_Exporter/android_handler.py | 4 ++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Whatsapp_Chat_Exporter/__main__.py b/Whatsapp_Chat_Exporter/__main__.py index 6551e45..b0b14db 100644 --- a/Whatsapp_Chat_Exporter/__main__.py +++ b/Whatsapp_Chat_Exporter/__main__.py @@ -578,12 +578,11 @@ def process_messages(args, data: ChatCollection) -> None: filter_chat, args.filter_empty ) - # Process polls (iOS only) - if args.ios: - message_handler.polls( - db, data, args.filter_date, - filter_chat, args.filter_empty - ) + # Process polls + message_handler.polls( + db, data, args.filter_date, + filter_chat, args.filter_empty + ) # Process calls process_calls(args, db, data, filter_chat, timing) diff --git a/Whatsapp_Chat_Exporter/android_handler.py b/Whatsapp_Chat_Exporter/android_handler.py index 7087e43..f5c23d3 100644 --- a/Whatsapp_Chat_Exporter/android_handler.py +++ b/Whatsapp_Chat_Exporter/android_handler.py @@ -1134,6 +1134,10 @@ def _construct_call_description(content, call): return description +def polls(db, data, date_filter, chat_filter, empty_filter): + """Placeholder for future polls processing implementation.""" + return + # TODO: Marked for enhancement on multi-threaded processing def create_html( data,