From 03c68d283d85e75cb6ee286d2c53a7507cef729a Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 27 Oct 2015 03:18:04 +0000 Subject: [PATCH] Respect isPermalLink=false on RSS guid --- lib/activityobject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5