forked from GNUsocial/gnu-social
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)) {
|
||||
$this->id = $guidEl->textContent;
|
||||
|
||||
if ($guidEl->hasAttribute('isPermaLink')) {
|
||||
if ($guidEl->hasAttribute('isPermaLink') && $guidEl->getAttribute('isPermaLink') != 'false') {
|
||||
// overwrites <link>
|
||||
$this->link = $this->id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user