aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-06 20:54:52 -0700
committerfriendica <info@friendica.com>2014-10-06 20:54:52 -0700
commitbbf88cf6391ec92bf146f0334c1332158c58345a (patch)
tree7d495c6864cef159e8effa9fe585d6085cf86d10 /include/diaspora.php
parent03585b8f885c7c7482cb58b277af187151dc0887 (diff)
downloadvolse-hubzilla-bbf88cf6391ec92bf146f0334c1332158c58345a.tar.gz
volse-hubzilla-bbf88cf6391ec92bf146f0334c1332158c58345a.tar.bz2
volse-hubzilla-bbf88cf6391ec92bf146f0334c1332158c58345a.zip
found one bug trying to fetch the recursive reshare from hell. I still think there's a problem with attribution but we'll have to wait and find that once we have some content to track. Also in private messages, on the message list page, change the text from delete message to delete conversation, because that's what we're really doing.
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 0d4271cee..758f6e73c 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -928,8 +928,8 @@ function get_diaspora_reshare_xml($url,$recurse = 0) {
// see if it's a reshare of a reshare
if($source_xml->root_diaspora_id && $source_xml->root_guid && $recurse < 15) {
- $orig_author = notags(unxmlify($xml->root_diaspora_id));
- $orig_guid = notags(unxmlify($xml->root_guid));
+ $orig_author = notags(unxmlify($source_xml->root_diaspora_id));
+ $orig_guid = notags(unxmlify($source_xml->root_guid));
$source_url = 'https://' . substr($orig_author,strpos($orig_author,'@')+1) . '/p/' . $orig_guid . '.xml';
$y = get_diaspora_reshare_xml($source_url,$recurse+1);
if($y)