From dc380d780019f8c26f23ad5e4bb1df2601974b2a Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 7 Mar 2015 21:09:32 +0100 Subject: [PATCH] Adding some more data to Diaspora reshares --- include/diaspora.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/diaspora.php b/include/diaspora.php index 2c19cd4c48..1202a3a552 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -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'];