forked from GNUsocial/gnu-social
Use the link property for the URL, not the ID
This commit is contained in:
parent
393130d80f
commit
0a0aeed413
@ -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