forked from GNUsocial/gnu-social
Use the link property for the URL, not the ID
This commit is contained in:
parent
0fb6819200
commit
ce451c0018
@ -482,7 +482,9 @@ class Activity
|
||||
$activity['verb'] = ActivityVerb::canonical($this->verb);
|
||||
|
||||
// url
|
||||
$activity['url'] = $this->id;
|
||||
if ($this->link) {
|
||||
$activity['url'] = $this->link;
|
||||
}
|
||||
|
||||
/* Purely extensions hereafter */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user