When removing a Tpf.Persona, remove it from the same struct we're cycling through.
authorTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 1 Jul 2010 21:53:49 +0000 (14:53 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Fri, 2 Jul 2010 00:09:32 +0000 (17:09 -0700)
backends/telepathy/tpf-persona-store.vala

index 4021657..0c92c15 100644 (file)
@@ -517,7 +517,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
       /*
        * remove all persona-keyed entries
        */
-      foreach (var entry in this.channel_group_incoming_adds)
+      foreach (var entry in this.channel_group_personas_map)
         {
           var channel = (Channel) entry.key;
           var members = this.channel_group_personas_map[channel];