GNOME Bugzilla – Bug 322110
Problems with online states of buddies with multiple accounts
Last modified: 2006-11-17 17:03:30 UTC
Please describe the problem: I use gossip from cvs with the capability of managing multiple accounts. I have to accounts (work and private) and some contacts are subscribed in both accounts. When I am online with both accounts and then go offline with one of them, all contacts, which are avaible in both accounts disappear from the contact list. They are not offline, they aren't anymore avaible Steps to reproduce: 1. Go online with two jabber accounts at the same moment, which have at one or more same contacts. 2. Go offline with one account. 3. Compare the list of avaible contacts Actual results: Contacts who are in both accounts disappears Expected results: That all contacts of the current online account are avaible. Does this happen every time? Yes. Other information:
Yea, I have known about this for a while. The problem is, how do we fix it? I see 2 ways forward: 1. Separating the list into sections for each account (effectively like we do grouping, but on an account basis too. 2. Keeping a tab on each contact knowing of they are on n+1 accounts and if so, dealing with that intelligently.
I think 2. is much better. I like how gaim dealing with multiple contacts for one real person. you can expand a contact and drag and drop other contacts inside. even this happens not automatically, i think this is nicer then have oversized contact list in psi. maybe this could be handled automatically. but i think it's fine, when the contacts only not disappear :D
I have been experiencing a problem that I think is related to this one: I also have two accounts (A and B) with one shared contact (C). When I start a discussion with him it is always launched by the same account on my side (A->C). When he speaks to my other account (C->B), I get its messages in the same window but he appears offline (probably as this contact is associated to the account A, not to B). After that, when I reply, he gets the "writing notification" in the same window (B -> C) and the message is sent using my other account (A -> C), thus it appears in a new window for him, leading to some misunderstanding :). I'm not exactly sure that this is the same bug, but it is probably related, so I don't want to create a new one, at least for now.
Created attachment 64282 [details] [review] quick fix I have a quick fix, after applying it, accounts with the same id but with different contacts appear twice in the contact list, the strange behavior of the online state is gone, and also the "reply using random contact" bug which I found pretty annoying. I know it is not the intended long term fix but gossip is more usefull this way for me. hope it helps.
I'm also having some problems with this. I guess the patch could work as a workaround for now, since the "real" fix is a lot more work... (meta-contacts etc).
Note that gossip is working a lot better since a while back since we now always send from the account that we were sent to, not just any one that happened to have the contact in its list.
Created attachment 76526 [details] [review] updated and improved patch I updated the proposed patch to last CVS and I changed it a bit: To be sure 2 accounts are different I use something based on account's unique_id rather than account's id. See bug #368794. patch commited to TELEPATHY, ok to commit on HEAD ?
*** Bug 368794 has been marked as a duplicate of this bug. ***