[folks] telepathy: Set some missing properties on cached TpfPersonas



commit 0e729d7be7f3431922aa531704aad897c0bb598b
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Jun 18 10:31:54 2012 +0100

    telepathy: Set some missing properties on cached TpfPersonas
    
    Recently-added properties needed implementing for cached personas.

 backends/telepathy/lib/tpf-persona.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona.vala b/backends/telepathy/lib/tpf-persona.vala
index 1629277..9eab227 100644
--- a/backends/telepathy/lib/tpf-persona.vala
+++ b/backends/telepathy/lib/tpf-persona.vala
@@ -1093,6 +1093,9 @@ public class Tpf.Persona : Folks.Persona,
       // Make the persona appear offline
       this.presence_type = PresenceType.OFFLINE;
       this.presence_message = "";
+      this.presence_status = "offline";
+
+      this._writeable_properties = {};
     }
 
   ~Persona ()



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