Implement separate media for iOS also

This commit is contained in:
KnugiHK
2024-04-21 12:33:03 +08:00
parent 1ab4b24fa0
commit 524b3a4034
2 changed files with 11 additions and 3 deletions

View File

@@ -272,8 +272,6 @@ def main():
parser.error("JSON file not found.")
if args.android and args.business:
parser.error("WhatsApp Business is only available on iOS for now.")
if args.ios and args.separate_media:
parser.error("Separate media is only available on Android for now.")
if args.json_per_chat and (
(args.json[-5:] != ".json" and os.path.isfile(args.json)) or \
(args.json[-5:] == ".json" and os.path.isfile(args.json[:-5]))