[COMPONENT][Notification] Remove nickname GET parameter

This commit is contained in:
Hugo Sales 2021-12-29 13:27:04 +00:00
parent cbb70a5054
commit 5229d4cd8c
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -46,7 +46,7 @@ class Notification extends Component
{
DB::persist(\App\Entity\Feed::create([
'actor_id' => $actor_id,
'url' => Router::url($route = 'feed_notifications', ['nickname' => $user->getNickname()]),
'url' => Router::url($route = 'feed_notifications'),
'route' => $route,
'title' => _m('Notifications'),
'ordering' => $ordering++,