aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-06 21:37:02 -0700
committerfriendica <info@friendica.com>2014-10-06 21:37:02 -0700
commitac77076135e07ea554e9c16c4feb951db608e8c5 (patch)
tree4ac88ea97340d7bc651b75238f3efb73ad222acc /include
parentbbf88cf6391ec92bf146f0334c1332158c58345a (diff)
downloadvolse-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.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/diaspora.php4
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) {