projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fb6819
)
Use the link property for the URL, not the ID
author
Evan Prodromou
<evan@e14n.com>
Sat, 8 Jun 2013 23:18:28 +0000
(19:18 -0400)
committer
Evan Prodromou
<evan@e14n.com>
Sat, 8 Jun 2013 23:18:28 +0000
(19:18 -0400)
lib/activity.php
patch
|
blob
|
history
diff --git
a/lib/activity.php
b/lib/activity.php
index 779be2a9ad0840b18c81281e114839f7b38f9f2f..cd2383808d3fb3a0cfa5fc425c0af88c0b1b751a 100644
(file)
--- 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 */