From: Philip Withnall Date: Thu, 16 Jun 2011 17:32:06 +0000 (+0100) Subject: Unset the self-contact on Tpf.PersonaStore when resetting the store X-Git-Tag: FOLKS_0_6_0~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f84d14b88ea1aceee2f3586593a967fcb87ef181;p=platform%2Fupstream%2Ffolks.git Unset the self-contact on Tpf.PersonaStore when resetting the store --- diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala index 4b18ebd..fd5683f 100644 --- a/backends/telepathy/lib/tpf-persona-store.vala +++ b/backends/telepathy/lib/tpf-persona-store.vala @@ -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 (); this._favourite_handles = new HashSet (); + this._self_contact = null; this._ll = new TpLowlevel (); }