Bug 326855

Summary: Incorrect account information for merged contacts
Product: [Unmaintained] telepathy Reporter: Max Sydorenko <maxim.stargazer>
Component: contactlistAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, maxim.stargazer
Priority: NOR    
Version: 0.7.0   
Target Milestone: Future   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Max Sydorenko 2013-10-29 23:47:55 UTC
I have same contacts (all of them are Gtalk ones) associated with two my separate accounts (Gtalk and another jabber server). After libkpeople integration become availible in 0.7 I have merged those pairs of contacts, but the fact, that those contacts are from contact-lists of defferent my accounts is not handled correctly i.e. in the information for both the same my account is shown (which one - seems to be chosen randomly).

Reproducible: Always

Steps to Reproduce:
1.Merge the same contacts (jabber-id's) from contactlists of several your accounts
2.Observe incorrect "Account" information
Actual Results:  
incorrect "Account" information (For example, represented in the "mouse-over-contact" pop-up)

Expected Results:  
Adequate "Account" information, so the user will be able to chose, which account to use for a messaging with the contact.
Comment 1 Max Sydorenko 2013-10-30 00:09:22 UTC
I also found out that the account which is shown in the info for both instances of same contact is always the one, which was turn on (or connected) last. For example, if I enable only my Gtalk account, all contacts are shown as they belong to Gtalk contact list, if then I enable another jabber account, all contacts change "Account" to this recently connected one. 
Another interesting observation:  when you are Offline status and  "Show offline contacts"  option is turned on, you can see correct Account information for aftermentioned pairs of contacts (one contact have gmail account in the info and in the logo, another -- jabber)
Comment 2 David Edmundson 2013-10-30 10:07:47 UTC
Thanks for the report. Confirming. 

Other devs please see the review discussion here https://git.reviewboard.kde.org/r/112987/
Comment 3 David Edmundson 2013-11-29 12:27:54 UTC
Fixed with kpeople 2