From 9441ff5142551d1db547ac7ff80c897a52c934c7 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 24 Feb 2012 22:47:43 -0800 Subject: string update for 2.38 --- include/diaspora.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/diaspora.php') diff --git a/include/diaspora.php b/include/diaspora.php index 92f3500f2..5896f1bfd 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -1803,6 +1803,9 @@ function diaspora_profile($importer,$xml) { if(substr($birthday,5) === substr($contact['bd'],5)) $birthday = $contact['bd']; + // TODO: update name on item['author-name'] if the name changed. See consume_feed() + // Not doing this currently because D* protocol is scheduled for revision soon. + $r = q("UPDATE `contact` SET `name` = '%s', `name-date` = '%s', `photo` = '%s', `thumb` = '%s', `micro` = '%s', `avatar-date` = '%s' , `bd` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1", dbesc($name), dbesc(datetime_convert()), -- cgit v1.2.3