]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Respect isPermalLink=false on RSS guid
authorStephen Paul Weber <singpolyma@singpolyma.net>
Tue, 27 Oct 2015 03:18:04 +0000 (03:18 +0000)
committerStephen Paul Weber <singpolyma@singpolyma.net>
Tue, 27 Oct 2015 03:18:04 +0000 (03:18 +0000)
lib/activityobject.php

index 2fe52eefcc5a84f883757f9aba8818446d1a657b..87eea13727e3261c8829a8459dad19b42113caab 100644 (file)
@@ -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 <link>
                 $this->link = $this->id;
             }