Use the link property for the URL, not the ID

This commit is contained in:
Evan Prodromou 2013-06-08 19:18:28 -04:00
parent 393130d80f
commit 0a0aeed413

View File

@ -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 */