From 9384dbb75029a3bfbd06dc12e1b8f69b675a1899 Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Fri, 18 Mar 2011 14:22:27 +0000 Subject: [PATCH] libsocialweb: prepare code to receive several urls. Blocked on bug #645139 --- backends/libsocialweb/lib/swf-persona.vala | 13 +++++-------- 1 file 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; -- 2.7.4