Merge branch 'handle-rss-guid' into 'master'
Respect isPermalLink=false on RSS guid See merge request !49
This commit is contained in:
commit
f513ceac7d
|
@ -298,7 +298,7 @@ class ActivityObject
|
||||||
if (!empty($guidEl)) {
|
if (!empty($guidEl)) {
|
||||||
$this->id = $guidEl->textContent;
|
$this->id = $guidEl->textContent;
|
||||||
|
|
||||||
if ($guidEl->hasAttribute('isPermaLink')) {
|
if ($guidEl->hasAttribute('isPermaLink') && $guidEl->getAttribute('isPermaLink') != 'false') {
|
||||||
// overwrites <link>
|
// overwrites <link>
|
||||||
$this->link = $this->id;
|
$this->link = $this->id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user