[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:
parent
d7039b1c5c
commit
29d498770c
@ -146,7 +146,9 @@ class Posting extends Component
|
|||||||
$extra_args = [];
|
$extra_args = [];
|
||||||
Event::handle('AddExtraArgsToNoteContent', [$request, $actor, $data, &$extra_args, $form_params, $form]);
|
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(
|
self::storeLocalNote(
|
||||||
actor: $user->getActor(),
|
actor: $user->getActor(),
|
||||||
|
Loading…
Reference in New Issue
Block a user