mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:15:11 +00:00
give hashtags a type, even though the spec says they are the default type.
This commit is contained in:
parent
b075e87715
commit
c8d7ffc447
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ class Activity
|
||||||
case TERM_HASHTAG:
|
case TERM_HASHTAG:
|
||||||
// An id is required so if there is no url in the taxonomy, ignore it and keep going.
|
// An id is required so if there is no url in the taxonomy, ignore it and keep going.
|
||||||
if ($t['url']) {
|
if ($t['url']) {
|
||||||
$ret[] = ['id' => $t['url'], 'name' => '#' . $t['term']];
|
$ret[] = [ 'type' => 'Hashtag', id' => $t['url'], 'name' => '#' . $t['term']];
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue