Merge branch 'handle-rss-guid' into 'master'

Respect isPermalLink=false on RSS guid



See merge request !49
This commit is contained in:
mmn 2015-11-05 15:02:20 +00:00
commit f513ceac7d

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