X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fdiaspora.php;h=89707967f35381359719007bb4b6a06b0e4e526e;hb=6769436f3b43074d7d5895b36927eddf37b0ba8d;hp=abe927697bac31c70a76d572c1f4fbefc3fd4310;hpb=796056f8103580016da846cd0befa4bf3ea8c208;p=friendica.git diff --git a/include/diaspora.php b/include/diaspora.php index abe927697b..89707967f3 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -627,6 +627,8 @@ function diaspora_reshare($importer,$xml) { logger('diaspora_reshare: unable to fetch source url ' . $source_url); return; } + logger('diaspora_reshare: source: ' . $x); + $x = str_replace(array('',''),array('',''),$x); $source_xml = parse_xml_string($x,false); @@ -671,8 +673,6 @@ function diaspora_reshare($importer,$xml) { $created = unxmlify($xml->created_at); $private = ((unxmlify($xml->public) == 'false') ? 1 : 0); - $body = diaspora2bb($xml->raw_message); - $datarray = array(); $str_tags = '';