[GH-ISSUE #14] Incorrect merging #13

Closed
opened 2026-02-25 20:34:28 +03:00 by kerem · 1 comment
Owner

Originally created by @p4r4d0x86 on GitHub (Apr 25, 2019).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/14

Hello Ivan,

Thank you for your scripts :)

I took a look into your code and I am pretty sure the way of merging message is not working correctly in some cases since "_id" restart from the beginning on every new phone/backup.
It is a good check to avoid duplicating message but not merge two backups from the same number coming from two phones used successively without importing the previous backup.

Give a check here to see:
github.com/namnoops/merjapp@649b95948f/src/com/merjapp/Merge.java (L215-L219)

Kind regards,
Nico

Originally created by @p4r4d0x86 on GitHub (Apr 25, 2019). Original GitHub issue: https://github.com/B16f00t/whapa/issues/14 Hello Ivan, Thank you for your scripts :) I took a look into your code and I am pretty sure the way of merging message is not working correctly in some cases since "_id" restart from the beginning on every new phone/backup. It is a good check to avoid duplicating message but not merge two backups from the same number coming from two phones used successively without importing the previous backup. Give a check here to see: https://github.com/namnoops/merjapp/blob/649b95948fa547552b280ca90b280ae4aa6987da/src/com/merjapp/Merge.java#L215-L219 Kind regards, Nico
kerem closed this issue 2026-02-25 20:34:28 +03:00
Author
Owner

@B16f00t commented on GitHub (May 2, 2019):

whamerge Updated. The script only works with databases that have not been restored.

<!-- gh-comment-id:488721009 --> @B16f00t commented on GitHub (May 2, 2019): whamerge Updated. The script only works with databases that have not been restored.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whapa#13
No description provided.