Store the tag type for the post targets

This commit is contained in:
Michael 2022-04-23 11:39:19 +00:00
parent 1c0c787d1c
commit 060597f619
8 changed files with 96 additions and 24 deletions

View file

@ -941,7 +941,10 @@ class Processor
} else {
$name = trim(parse_url($receiver, PHP_URL_PATH), '/');
}
Tag::store($uriid, $type, $name, $receiver);
$target = Tag::getTargetType($receiver);
Logger::debug('Got target type', ['type' => $target, 'url' => $receiver]);
Tag::store($uriid, $type, $name, $receiver, $target);
}
}
}