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

@ -200,6 +200,8 @@ class PermissionTooltip extends \Friendica\BaseModule
$receivers[$receiver['type']][] = DI::l10n()->t('Followers (%s)', $apcontact['name']);
} elseif ($apcontact = APContact::getByURL($receiver['url'], false)) {
$receivers[$receiver['type']][] = $apcontact['name'];
} elseif ($receiver['tag-type'] == Tag::COLLECTION) {
$receivers[$receiver['type']][] = DI::l10n()->t('Collection (%s)', $receiver['name']);
} else {
$receivers[$receiver['type']][] = $receiver['name'];
}