Ensure Individuals replaced due to re-linking emit removed().
authorTravis Reitter <travis.reitter@collabora.co.uk>
Wed, 20 Oct 2010 19:10:26 +0000 (12:10 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Wed, 20 Oct 2010 19:19:41 +0000 (12:19 -0700)
It turns out the optimization we're removing, which was meant to coalesce
IndividualAggregator:personas-changed signal emissions, was a little
over-reaching.

Fixes bgo#632564.

folks/individual-aggregator.vala

index 23096b6..04a972a 100644 (file)
@@ -642,11 +642,6 @@ public class Folks.IndividualAggregator : Object
 
   private void individual_removed_cb (Individual i, Individual? replacement)
     {
-      /* Only signal if the individual is still in this.individuals. This allows
-       * us to group removals together in, e.g., personas_changed_cb(). */
-      if (this.individuals.lookup (i.id) == null)
-        return;
-
       if (this.user == i)
         this.user = null;