Add a missing yield to make group changes async in the telepathy backend
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 25 Aug 2010 15:45:49 +0000 (16:45 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 26 Aug 2010 21:12:29 +0000 (22:12 +0100)
backends/telepathy/tpf-persona.vala

index 955b2e0..603943b 100644 (file)
@@ -143,8 +143,9 @@ public class Tpf.Persona : Folks.Persona,
     {
       if (_change_group (group, is_member))
         {
-          ((Tpf.PersonaStore) this.store).change_group_membership (this, group,
-            is_member);
+          Tpf.PersonaStore store = (Tpf.PersonaStore) this.store;
+
+          yield store.change_group_membership (this, group, is_member);
 
           this.group_changed (group, is_member);
         }