sms-backup-plus icon indicating copy to clipboard operation
sms-backup-plus copied to clipboard

Call Log Backup duplicates

Open jas4711 opened this issue 8 years ago • 1 comments

The duplicate check process when taking backups appears a bit fragile. In my "Call Log" folder (not to gmail, to my own IMAP server, if that makes a difference), I have the same call being backed up with subject line of "Call with Foo Bar", "Samtal med Foo Bar" (in Swedish, my normal system language), and "Samtal med 0123456789" (phone# of Foo Bar). Would it be possible for the app to be a bit smarter about this?

I assume my usage scenario is relevant: I re-install my phone once in a while, and rely on SMS Backup+ to restore the SMS/Call Logs from the earlier phone, and then set it up to perform backups going forward. I assume the problem happens during the initial restore and initial backup situation.

Either the duplicate check should be based on a stable property (Message-Id?) or it should recognize all Subject lines, or something. I don't really know how the logic works, so it is difficult to propose a solution.

jas4711 avatar Nov 27 '15 15:11 jas4711

Message ids are based on date, phone number and message type. Can you check if the message ids are different?

https://github.com/jberkel/sms-backup-plus/blob/edb5f412deb096acce079fcb2d2fdc8137e073d7/src/main/java/com/zegoggles/smssync/mail/HeaderGenerator.java#L102-L102

jberkel avatar Feb 07 '16 14:02 jberkel