Respect isPermalLink=false on RSS guid

This commit is contained in:
Stephen Paul Weber 2015-10-27 03:18:04 +00:00
parent 0ba53edd96
commit 03c68d283d

View 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;
}