summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-25 18:10:36 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-26 22:16:37 +0100
commita1190e33fb96e2edf15d27b9120b8e95eef0318d (patch)
tree27baaf1dcd8270e7fe3faf55c79b82194e253324
parentc9afc15599021aa2b4a18ccd1563662c35290a3d (diff)
Push favourite changes to all Personas unconditionally
Since the changes are only pushed down to Personas if the favourite status has changed, they have to be pushed down to every Persona anyway (or the aggregated favourite status wouldn't change).
-rw-r--r--folks/individual.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/folks/individual.vala b/folks/individual.vala
index 5dcfc4a..f798396 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -192,7 +192,7 @@ public class Folks.Individual : Object,
this._is_favourite = value;
this._persona_list.foreach ((p) =>
{
- if (p is Favourite && ((Persona) p).store.is_writeable == true)
+ if (p is Favourite)
((Favourite) p).is_favourite = value;
});
}