Update contactview to show photo, name and then the set of icons
[hermes] / package / src / org / maemo / hermes / engine / hermes.py
index a37a9a8..8f8c571 100644 (file)
@@ -47,6 +47,8 @@ class Hermes:
                 return ["fredrik@wendt.se","maemohermes@wendt.se"]
             def get_photo(self):
                 return None
+            def get_mapped_to(self):
+                return set(["facebook", "gravatar"])
         self.matched = [FakeContact()]
  
 #        self._sync_job = SyncJob(services, [FakeContact()], self.progress)
@@ -61,7 +63,7 @@ class Hermes:
     def update_contact(self, contact, friend, resync = False):
         """Update the given contact with information from the given friend."""
         
-        pass
+        friend.update_contact(contact, resync)
     
 """        
  friends = ()