aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-28 12:50:57 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-28 12:50:57 +0200
commit354e341d69eb748a6ae1582fadade9d1012de7e4 (patch)
tree0125a12c321eb0d8ce686dd9263be15e67f0fc59 /Zotlabs
parent13946b2b761d38bd7623cf2704616309922b75d7 (diff)
downloadvolse-hubzilla-354e341d69eb748a6ae1582fadade9d1012de7e4.tar.gz
volse-hubzilla-354e341d69eb748a6ae1582fadade9d1012de7e4.tar.bz2
volse-hubzilla-354e341d69eb748a6ae1582fadade9d1012de7e4.zip
mastodon says hashtag is a subset of link - issue #1750
Diffstat (limited to 'Zotlabs')
-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 cb9d0f1b3..dff996231 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -591,9 +591,9 @@ class Activity {
foreach ($item['term'] as $t) {
switch ($t['ttype']) {
case TERM_HASHTAG:
- // id is required so if we don't have a url in the taxonomy, ignore it and keep going.
+ // href is required so if we don't have a url in the taxonomy, ignore it and keep going.
if ($t['url']) {
- $ret[] = ['type' => 'Hashtag', 'id' => $t['url'], 'name' => '#' . $t['term']];
+ $ret[] = ['type' => 'Hashtag', 'href' => $t['url'], 'name' => '#' . $t['term']];
}
break;