mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update NotificationTransformer
This commit is contained in:
parent
3c8c23a143
commit
d7b6edc018
1 changed files with 4 additions and 2 deletions
|
@ -59,7 +59,10 @@ class NotificationTransformer extends Fractal\TransformerAbstract
|
|||
'like' => 'favourite',
|
||||
'comment' => 'comment',
|
||||
'admin.user.modlog.comment' => 'modlog',
|
||||
'tagged' => 'tagged'
|
||||
'tagged' => 'tagged',
|
||||
'group:comment' => 'group:comment',
|
||||
'story:react' => 'story:react',
|
||||
'story:comment' => 'story:comment'
|
||||
];
|
||||
return $verbs[$verb];
|
||||
}
|
||||
|
@ -90,7 +93,6 @@ class NotificationTransformer extends Fractal\TransformerAbstract
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public function includeTagged(Notification $notification)
|
||||
{
|
||||
$n = $notification;
|
||||
|
|
Loading…
Reference in a new issue