mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-25 23:41:33 +00:00
Add an option to skip processing replies in iOS
Since processing replies take time
This commit is contained in:
@@ -137,6 +137,10 @@ def setup_argument_parser() -> ArgumentParser:
|
||||
"--size", "--output-size", "--split", dest="size", nargs='?', const="0", default=None,
|
||||
help="Maximum (rough) size of a single output file in bytes, 0 for auto"
|
||||
)
|
||||
output_group.add_argument(
|
||||
"--no-reply", dest="no_reply_ios", default=False, action='store_true',
|
||||
help="Do not process replies (iOS only) (default: handle replies)"
|
||||
)
|
||||
|
||||
# JSON formatting options
|
||||
json_group = parser.add_argument_group('JSON Options')
|
||||
@@ -554,8 +558,8 @@ def process_messages(args, data: ChatCollection) -> None:
|
||||
message_handler = ios_handler
|
||||
|
||||
message_handler.messages(
|
||||
db, data, args.media, args.timezone_offset,
|
||||
args.filter_date, filter_chat, args.filter_empty
|
||||
db, data, args.media, args.timezone_offset, args.filter_date,
|
||||
filter_chat, args.filter_empty, args.no_reply_ios
|
||||
)
|
||||
|
||||
# Process media
|
||||
|
||||
Reference in New Issue
Block a user