Slowly transforming things into the shape needed to be ready to get things working
[theonering] / src / gvoice / addressbook.py
index aeb8de5..bdbd9d8 100644 (file)
@@ -20,7 +20,9 @@ class Addressbook(object):
 
                self.updateSignalHandler = coroutines.CoTee()
 
-       def update(self):
+       def update(self, force=False):
+               if not force and self._contacts:
+                       return
                oldContacts = self._contacts
                oldContactIds = set(self.get_contacts())