[Gossip-dev] Bug #368794
Xavier Claessens
xclaesse at gmail.com
Sat Nov 11 11:26:54 CET 2006
Hi,
I'm trying to fix bug #368794 [1]. The problem seems to be in
gossip_session_find_account_for_own_contact() which compares accounts ID
to know if 2 accounts are the same.
I'm connecting both MSN and jabber accounrs using the same ID
("xclaesse at gmail.com") using telepathy and so gossip gets confused and
doesn't return the good account.
The problem is also in gossip_contact_equal() because it compares with
ID to tell if 2 accounts are the same.
Why not simply compare pointers ?
GossipAccount *a1;
GossipAccount *a2;
(...)
if (a1 == a2) {...}
I guess it's to only show one contact if I connect more than one account
that have same contacts in their list ? Using telepathy this isn't a
good solution because I can have the same ID for one contact but using
different protocols ! If I add "someone at gmail.com" in my MSN and jabber
list I want to see both and choose myself which protocol I want to use
to talk with him.
To solve the duplicate of contacts Gaim groups them, it's by far more
flexible but maybe more difficult to implement... Should be great to
make something like gaim does...
Comments are welcome,
Xavier Claessens.
[1] http://bugzilla.gnome.org/show_bug.cgi?id=368794
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.imendio.com/pipermail/gossip-dev/attachments/20061111/bc91ddc9/attachment.pgp
More information about the Gossip-dev
mailing list