-
Notifications
You must be signed in to change notification settings - Fork 229
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
Show and jump to WhatsApp quoted messages in reply messages in WhatsApp preview #693
Comments
AFAIK, this isn't supported for iOS too, this would be an useful enhancement. |
I'll try to take a look at it and dev some codes for this. |
Thank you very much @thalespr, just be careful about regressions... |
After a while, returning to work on this feature. Sorry for being away from this project. I'll be careful about regressions. |
Started developing this feature for Android... Some notes to keep track on:
|
Not sure about the needed effort, but if it is possible, I think displaying image/video thumbs or the audio generic icon would be better. |
Some notes: Included a new class to store quoted messages; |
This may be OK for a first implementation...
What is your current concern? |
My concern is about "versioning" the messages table. It may be difficult to keep control on it as different versions of this table are released... If I want to get a New field from this table, I need to create a new message query to grab it... |
Need samples of DB's that are dealed by ExtractorAndroidNew... Can someone provide them please? Thanks in advance. |
Hi @thalespr! Just sent you (through Teams) a 7z file with ~20 WhatsApp Android databases. |
I got it. Thanks @tc-wleite. |
@thalespr, @gfd2020 didn't know about your work and started an independent implementation and opened #1916. @thalespr and @gfd2020, could you both submit a PR in draft mode? So we all can evaluate which one is more advanced and continue the work from it? Of course, we can copy interesting things from the less advanced one to the implementation to be chosen by both of you. |
Hello @lfcnassif! Nice to have someone else working on it too. Let me catch up with you about this feature:
Since @gfd2020 is willing to help in this feature, there are some concerns I think he should be aware of:
I'll try to take a look this week at the branch I'm working on and submit it as PR draft as suggested. Thanks. |
P.S: looks like @gfd2020's work is more advanced than mine. So feel free to go ahead and assign this ticket to him. Not a problem for me. |
I was working on ExtractorAndroidNew only until now. We can work in parallel.
I used the same select that search for messages. The ID of the original message is captured, then a pointer to the original message is created, any data you need, just look for it there.
Well remembered. In the case of my PR, the message will be retrieved but the click to go to the anchor will not work.
If you delete a message that was quoted, WhatsApp simply will not accept the anchor click. However, I believe that the data from this quote is still in the message_quoted table. My Draft PR is #1920 |
@lfcnassif , @thalespr . I managed to make it work on IOS, but I don't know if the columns I added are used in older databases. Do you have databases for regression testing ( Android too)? PS: Even without finding the quote messages (if deleted), it is possible to retrieve the reply data, but I was unable to understand the entire logic of the ZMETADATA field ... |
Yes, I have many databases from hundreds of cases for regression tests. I can run the test when you finish a first version. Or I can try to share them with you if you prefer (dozens of GBs). |
If you could test it for me I would appreciate it. In new databases is working. |
Sure! |
Just make work in Old Whatsapp Databases .. |
@lfcnassif , I think I handled exceptions from older databases that could cause SQL errors. The implementation is closer to the end. Could you do a test, please? |
Sure! Thank you @gfd2020 for helping with this! |
Closed by #1920 |
Actually, WhatsApp parser, at least for WhatsApp installed in Android devices, doesn't show in the preview TAB the original message when you have a reply message. For example, let's say user_A replies to a message that user_B sent, the user_B's message isn't shown 'linked' (in a cascade format) to user_A' message, so you don't see, at least graphically, that user_A is replying a message that user_B sent.
The text was updated successfully, but these errors were encountered: