mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-25 17:05:59 +03:00
[GH-ISSUE #621] Restore creates 2 conversations for one contact #531
Labels
No labels
AM+RCS
FAQ
awaiting response
backup
bespoke
bug
calendar
call log
cannot reproduce
cloudless
device-specific
documentation
dual- & multi-SIM
duplicate
feature-request
fixed in beta
good first issue
half-missing
help wanted
helpful
meta
misattribution
mms
other message sources
pull-request
question
rejuvenation
restore
schedule
security
stale
task
thanks
v1.5.1
v1.5.10
v1.5.11
v1.5.2
v1.5.3
v1.5.3
v1.5.4
v1.5.4
v1.5.5
v1.5.5
v1.5.6
v1.5.7
v1.5.8
v1.5.9
v1.6β
xoauth
~$ bounty $~
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sms-backup-plus-jberkel#531
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @leguillou on GitHub (Feb 4, 2016).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/621
When restoring, some contacts get 2 conversations on my phone. One for sent messages and one for received ones. I checked these contacts informations and conversations threads in Gmail compared to the ones with no problem but I can't see any difference.
Thanks in advance for your help.
@leguillou commented on GitHub (Feb 4, 2016):
Update. When I do "show original" on the emails, it shows that when I send the sms, it's written without the country code and when I receive it, it has the country code. Consequently, it shows two threads.
The strange thing it does that even for contact written with the country code in my contact list.
@jberkel commented on GitHub (Feb 4, 2016):
Can you post some examples? Maybe just the headers, can be obfuscated.
@iainnicol commented on GitHub (Feb 4, 2016):
I'm experiencing this too. (Although it's not entirely sent vs. received.)
I agree that the two threads have different phone numbers.
One conversation has this header
X-smssync-address: 07123456789and the other has
X-smssync-address: +447123456789@jberkel commented on GitHub (Feb 5, 2016):
@iainnicol How is the number stored in your contacts? a quick workaround would be to store both numbers in your contacts.
@iainnicol commented on GitHub (Feb 7, 2016):
@jberkel, that's a good suggestion, but surprisingly didn't help. I've tried all combinations in the contact:
For my own purposes I'll just locally hack the code to normalise the number on restore.
But I wonder if we could attempt to force use of the country code format during backup?
@jberkel commented on GitHub (Feb 7, 2016):
Yes, I guess it's a matter of checking the different variants and making sure enough information is stored in the backup so that all conversations can be tied together. The address used is currently directly taken from Android, without any modification or additional lookups. Not sure why the country code is sometimes not in there. See MessageGenerator.java#L75-L75.
It is then used to generate an email message id HeaderGenerator.java#L102-L102 which is used by gmail for threading. So the normalization would need to take that into account.