aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-25 13:06:50 +0000
committerMario <mario@mariovavti.com>2023-01-25 13:06:50 +0000
commit213c8a6eeccc16c34d3a34229a810bd213837c56 (patch)
tree007ef2cec267b00982ef7ba2f7ad84871e20d271
parentca4ad836a331251754f8d233c3d087e5f444d4af (diff)
downloadvolse-hubzilla-213c8a6eeccc16c34d3a34229a810bd213837c56.tar.gz
volse-hubzilla-213c8a6eeccc16c34d3a34229a810bd213837c56.tar.bz2
volse-hubzilla-213c8a6eeccc16c34d3a34229a810bd213837c56.zip
according to spec this should be id instead of href
-rw-r--r--Zotlabs/Lib/Activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 1a1031909..940280572 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -595,9 +595,9 @@ class Activity {
foreach ($item['term'] as $t) {
switch ($t['ttype']) {
case TERM_HASHTAG:
- // href is required so if we don't have a url in the taxonomy, ignore it and keep going.
+ // id is required so if we don't have a url in the taxonomy, ignore it and keep going.
if ($t['url']) {
- $ret[] = ['type' => 'Hashtag', 'href' => $t['url'], 'name' => '#' . $t['term']];
+ $ret[] = ['type' => 'Hashtag', 'id' => $t['url'], 'name' => '#' . $t['term']];
}
break;