Adding some more data to Diaspora reshares
This commit is contained in:
parent
30548dfeed
commit
dc380d7800
|
@ -1167,6 +1167,8 @@ function diaspora_reshare($importer,$xml,$msg) {
|
|||
$prefix = "[share author='".str_replace(array("'", "[", "]"), array("'", "[", "]"),$person['name']).
|
||||
"' profile='".$person['url'].
|
||||
"' avatar='".((x($person,'thumb')) ? $person['thumb'] : $person['photo']).
|
||||
"' guid='".$orig_guid.
|
||||
"' posted='".$orig_created.
|
||||
"' link='".str_replace(array("'", "[", "]"), array("'", "[", "]"),$orig_url)."']";
|
||||
$datarray['author-name'] = $contact['name'];
|
||||
$datarray['author-link'] = $contact['url'];
|
||||
|
|
Loading…
Reference in a new issue