1
0
Fork 0

Move getTags to BBCode

move getTags function to BBCode class and update calls.
This commit is contained in:
Adam Magness 2018-11-09 13:24:19 -05:00
commit b5a97c1abe
5 changed files with 78 additions and 78 deletions

View file

@ -348,7 +348,7 @@ function item_post(App $a) {
$str_tags = '';
$inform = '';
$tags = Strings::getTags($body);
$tags = BBCode::getTags($body);
// Add a tag if the parent contact is from ActivityPub or OStatus (This will notify them)
if ($parent && in_array($thr_parent_contact['network'], [Protocol::OSTATUS, Protocol::ACTIVITYPUB])) {