From ac77076135e07ea554e9c16c4feb951db608e8c5 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 6 Oct 2014 21:37:02 -0700 Subject: Make a best guess at how to pull the attribution from the recursive reshare from hell. --- include/diaspora.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/diaspora.php') diff --git a/include/diaspora.php b/include/diaspora.php index 758f6e73c..f650f0831 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -984,6 +984,10 @@ function diaspora_reshare($importer,$xml,$msg) { if($source_xml->post->status_message) { $body = diaspora2bb($source_xml->post->status_message->raw_message); + $orig_author = notags(unxmlify($source_xml->post->status_message->diaspora_handle)); + $orig_guid = notags(unxmlify($source_xml->post->status_message->guid)); + + // Checking for embedded pictures if($source_xml->post->status_message->photo->remote_photo_path && $source_xml->post->status_message->photo->remote_photo_name) { -- cgit v1.2.3