Bug #368794

Xavier Claessens <[email protected]> Sat, 11 Nov 2006 11:26:54 +0100
Newsgroups gmane.comp.gnome.gossip.devel
Message-ID <1163240814.6347.10.camel@zdra-desktop>
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
("[email protected]") 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 "[email protected]" 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

_______________________________________________
Gossip-dev mailing list
[email protected]
http://lists.imendio.com/mailman/listinfo/gossip-dev
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD4DBQBFVaVu6dEBUn2qPAMRAixkAJdLu1JZvF4w5UYMD0GElgoJjLUaAJ9UahN3
zF5KPhgDhApzpPAPoMxLMw==
=ZppY
-----END PGP SIGNATURE-----