mirror of
https://github.com/friendica/friendica
synced 2025-04-26 08:30:10 +00:00
allow custom avatar sizes - needed for Diaspora hcard/vcard
This commit is contained in:
parent
ad1e827169
commit
d45a66e700
4 changed files with 43 additions and 3 deletions
|
@ -995,6 +995,11 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $secure_fee
|
|||
|
||||
require_once('library/simplepie/simplepie.inc');
|
||||
|
||||
if(! strlen($xml)) {
|
||||
logger('consume_feed: empty input');
|
||||
return;
|
||||
}
|
||||
|
||||
$feed = new SimplePie();
|
||||
$feed->set_raw_data($xml);
|
||||
if($datedir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue