[folks] TpfPersonaStore: do not reset _favourite_ids at each reconnect



commit 5ba88816c6b1787296db1411e22249753d5dfc5c
Author: Xavier Claessens <xavier claessens collabora co uk>
Date:   Wed Apr 11 21:39:44 2012 +0200

    TpfPersonaStore: do not reset _favourite_ids at each reconnect
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630822

 backends/telepathy/lib/tpf-persona-store.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala
index bb4002b..470df0a 100644
--- a/backends/telepathy/lib/tpf-persona-store.vala
+++ b/backends/telepathy/lib/tpf-persona-store.vala
@@ -408,7 +408,6 @@ public class Tpf.PersonaStore : Folks.PersonaStore
 
       this._supported_fields = new HashSet<string> ();
       this._supported_fields_ro = this._supported_fields.read_only_view;
-      this._favourite_ids = new HashSet<string> ();
       this._self_persona = null;
     }
 
@@ -480,6 +479,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
                         }
                     });
 
+              this._favourite_ids = new HashSet<string> ();
               this._logger = new Logger (this.id);
               this._logger.invalidated.connect (
                   this._logger_invalidated_cb);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]