diff options
author | friendica <info@friendica.com> | 2014-10-06 21:37:02 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-06 21:37:02 -0700 |
commit | ac77076135e07ea554e9c16c4feb951db608e8c5 (patch) | |
tree | 4ac88ea97340d7bc651b75238f3efb73ad222acc | |
parent | bbf88cf6391ec92bf146f0334c1332158c58345a (diff) | |
download | volse-hubzilla-ac77076135e07ea554e9c16c4feb951db608e8c5.tar.gz volse-hubzilla-ac77076135e07ea554e9c16c4feb951db608e8c5.tar.bz2 volse-hubzilla-ac77076135e07ea554e9c16c4feb951db608e8c5.zip |
Make a best guess at how to pull the attribution from the recursive reshare from hell.
-rwxr-xr-x | include/diaspora.php | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |