-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Support for WhatsApp Business (iPhone only) #60
Conversation
Duplicated original extract_iphone_media to include smb specfic fileIDs.
Added corresponding logic for whatsapp business and default values.
Hello there, @KnugiHK! I've come across a truly fascinating project—kudos to you! Recently, I encountered a situation where I needed to create a local backup of my WhatsApp business account. Upon exploring the project, I discovered that it didn't quite support this functionality out of the box. However, I took the initiative to tweak a few elements, and voilà, it's now functioning seamlessly. Feeling quite satisfied with the results, I've decided to take things a step further and collaborate with you on this. I've already initiated a pull request. If there are any suggestions or adjustments you'd like me to implement, please don't hesitate to share. I'm more than willing to lend a hand and make this project even better. Looking forward to working together! |
Btw, I don't have myself an Android device so I didn't even attempt to implement this for Android. I might need a little help there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit to vcard could break Android's vcard output. I will fix it and consolidate the changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One outstanding problem for encrypted iOS backup. See the comment below.
Although the PR does not work for encrypted backup, unencrypted backup should be fine. I refactored the code a bit. Try again to see if it works for WhatsApp Business in iOS. PS. I also changed the option from --smb to --business for a more straightforward presentation. |
@KnugiHK Loved the way you implemented identifiers. It's a lot cleaner and easier to maintain that way 🙌 |
@KnugiHK it did work as expected 🚀. However, there's a weird WhatsApp message that I hadn't seen before: |
Can you check what that message is in WhatsApp? |
Those are old messages that seems to have corrupted when I migrated from android version of WB with a third party application long time ago. New messages (generated on the iPhone) are intact and showing correctly. |
Shall we consider it as not related to this PR? |
Not at all. That's a corner case that's outside of this module scope. |
Great. Will merge it soon. |
Thanks for your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You are welcome. My pleasure. Thank you for the follow up and the initiative of creating this project. Good luck! |
Released in 0.9.7. |
No description provided.