git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 03c68d28 authored by Stephen Paul Weber's avatar Stephen Paul Weber

Respect isPermalLink=false on RSS guid

parent 0ba53edd
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment