[COMPONENTS][Group] Create a group route added, template polished

[COMPONENTS][Circle] Removed any Group related route from shouldAddToRightPanel event
[CARDS][Profile] Block should now allow inline long nicknames to not
break
This commit is contained in:
Eliseu Amaro 2022-01-17 21:33:38 +00:00 committed by Hugo Sales
parent d7039b1c5c
commit 29d498770c
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 3 additions and 1 deletions

View File

@ -146,7 +146,9 @@ class Posting extends Component
$extra_args = [];
Event::handle('AddExtraArgsToNoteContent', [$request, $actor, $data, &$extra_args, $form_params, $form]);
$target = !\array_key_exists('in', $data) || $data['in'] === 'public' ? $context_actor : null;
if (\array_key_exists('in', $data) && $data['in'] !== 'public') {
$target = $data['in'];
}
self::storeLocalNote(
actor: $user->getActor(),