[folks] libsocialweb: prepare code to receive several urls. Blocked on bug #645139



commit 9384dbb75029a3bfbd06dc12e1b8f69b675a1899
Author: Alban Crequy <alban crequy collabora co uk>
Date:   Fri Mar 18 14:22:27 2011 +0000

    libsocialweb: prepare code to receive several urls. Blocked on bug #645139

 backends/libsocialweb/lib/swf-persona.vala |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/backends/libsocialweb/lib/swf-persona.vala b/backends/libsocialweb/lib/swf-persona.vala
index bb03a7a..4afd21a 100644
--- a/backends/libsocialweb/lib/swf-persona.vala
+++ b/backends/libsocialweb/lib/swf-persona.vala
@@ -199,14 +199,11 @@ public class Swf.Persona : Folks.Persona,
       if (website != null)
         urls.prepend (new FieldDetails (website));
 
-      var profile = item.get_value ("x-facebook-profile");
-      if (profile != null)
-        {
-          var ps = new FieldDetails (profile);
-          ps.add_parameter ("type", "x-facebook-profile");
-          urls.prepend (ps);
-        }
-
+/* https://bugzilla.gnome.org/show_bug.cgi?id=645139
+      string[] websites = item.get_value_all ("url");
+      foreach (string website in websites)
+        urls.prepend (new FieldDetails (website));
+*/
       if (this.urls != urls)
         this.urls = urls;
 



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