From: Evan Prodromou Date: Sat, 8 Jun 2013 23:18:28 +0000 (-0400) Subject: Use the link property for the URL, not the ID X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0a0aeed4133aa83757f42569c7dfd692334f0e6d;p=quix0rs-gnu-social.git Use the link property for the URL, not the ID --- diff --git a/lib/activity.php b/lib/activity.php index 779be2a9ad..cd2383808d 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -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 */