From 0a0aeed4133aa83757f42569c7dfd692334f0e6d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 8 Jun 2013 19:18:28 -0400 Subject: [PATCH] Use the link property for the URL, not the ID --- lib/activity.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */