mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:10:11 +00:00
Store the tag type for the post targets
This commit is contained in:
parent
1c0c787d1c
commit
060597f619
8 changed files with 96 additions and 24 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue