From: Stephen Paul Weber Date: Tue, 27 Oct 2015 03:18:04 +0000 (+0000) Subject: Respect isPermalLink=false on RSS guid X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=03c68d283d85e75cb6ee286d2c53a7507cef729a;p=quix0rs-gnu-social.git Respect isPermalLink=false on RSS guid --- diff --git a/lib/activityobject.php b/lib/activityobject.php index 2fe52eefcc..87eea13727 100644 --- a/lib/activityobject.php +++ b/lib/activityobject.php @@ -298,7 +298,7 @@ class ActivityObject if (!empty($guidEl)) { $this->id = $guidEl->textContent; - if ($guidEl->hasAttribute('isPermaLink')) { + if ($guidEl->hasAttribute('isPermaLink') && $guidEl->getAttribute('isPermaLink') != 'false') { // overwrites $this->link = $this->id; }