From c8d7ffc447ff4e40c8ad603a738d510bb440b1e1 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 25 Jan 2023 07:54:10 +1100 Subject: [PATCH] give hashtags a type, even though the spec says they are the default type. --- Code/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Lib/Activity.php b/Code/Lib/Activity.php index f0953dd26..71211c2c6 100644 --- a/Code/Lib/Activity.php +++ b/Code/Lib/Activity.php @@ -497,7 +497,7 @@ class Activity case TERM_HASHTAG: // An id is required so if there is no url in the taxonomy, ignore it and keep going. if ($t['url']) { - $ret[] = ['id' => $t['url'], 'name' => '#' . $t['term']]; + $ret[] = [ 'type' => 'Hashtag', id' => $t['url'], 'name' => '#' . $t['term']]; } break;