]> git.0d.be Git - empathy.git/commit
roster-view: make sure the same contact isn't added twice to the same group
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 30 Aug 2012 10:06:42 +0000 (12:06 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 30 Aug 2012 10:08:50 +0000 (12:08 +0200)
commitc11c1cb31e7b46f89de4fd41f9d75f2731c5ded0
tree0cf839f71fda3085781f5c067ecc70e47ba8f1f1
parent07b33c748d2227f6932afbcc1dc44a404354ec83
roster-view: make sure the same contact isn't added twice to the same group

Calling empathy_roster_model_get_groups_for_individual() in individual_added
may have the side effect for folks to discover the contact's groups and so
fire a bunch of signals leading us to add the contact in the group.
Then we look for his groups in individual_added() and re-add him a second
time.

Fix this by making sure we won't add the same contact twice to the same group.

https://bugzilla.gnome.org/show_bug.cgi?id=683025
libempathy-gtk/empathy-roster-view.c