Unset the self-contact on Tpf.PersonaStore when resetting the store
authorPhilip Withnall <philip@tecnocode.co.uk>
Thu, 16 Jun 2011 17:32:06 +0000 (18:32 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Mon, 25 Jul 2011 19:46:14 +0000 (20:46 +0100)
backends/telepathy/lib/tpf-persona-store.vala

index 4b18ebd..fd5683f 100644 (file)
@@ -82,7 +82,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
   private TpLowlevel _ll;
   private AccountManager _account_manager;
   private Logger _logger;
-  private Contact _self_contact;
+  private Contact? _self_contact;
   private MaybeBool _can_add_personas = MaybeBool.UNSET;
   private MaybeBool _can_alias_personas = MaybeBool.UNSET;
   private MaybeBool _can_group_personas = MaybeBool.UNSET;
@@ -477,6 +477,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
 
       this._groups = new HashMap<string, Channel> ();
       this._favourite_handles = new HashSet<uint> ();
+      this._self_contact = null;
       this._ll = new TpLowlevel ();
     }