Don't initialise favourite contacts support if the Logger doesn't exist
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 9 Jul 2010 10:04:52 +0000 (11:04 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 21 Jul 2010 16:27:17 +0000 (17:27 +0100)
backends/telepathy/tpf-persona-store.vala

index 095142c..bf1c58d 100644 (file)
@@ -172,6 +172,9 @@ public class Tpf.PersonaStore : Folks.PersonaStore
 
   private async void initialise_favourite_contacts ()
     {
+      if (this.logger == null)
+        return;
+
       /* Get an initial set of favourite contacts */
       try
         {