1
1
Fork 0

fixes for statusnet/identi.ca empty vcard page - which appears to be deprecated. Scrape the feed for everything we used to get from the vcard.

This commit is contained in:
Friendika 2011-09-28 04:35:44 -07:00
parent d0f45bf281
commit a1786cbf61

View file

@ -533,7 +533,7 @@ function probe_url($url, $mode = PROBE_NORMAL) {
if($twitter || ! $poll)
$check_feed = true;
if((! isset($vcard)) || (! $profile))
if((! isset($vcard)) || (! x($vcard,'fn')) || (! $profile))
$check_feed = true;
if(($at_addr) && (! count($links)))
$check_feed = false;