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 0fb6819200
commit ce451c0018

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