Update NotificationTransformer, add missing types

pull/2494/head
Daniel Supernault 5 years ago
parent 6d030cdf81
commit 3a428366fb
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -47,12 +47,14 @@ class NotificationTransformer extends Fractal\TransformerAbstract
public function replaceTypeVerb($verb)
{
$verbs = [
'dm' => 'direct',
'follow' => 'follow',
'mention' => 'mention',
'share' => 'reblog',
'like' => 'favourite',
'comment' => 'mention',
'admin.user.modlog.comment' => 'modlog'
'admin.user.modlog.comment' => 'modlog',
'tagged' => 'tagged'
];
return $verbs[$verb];
}

Loading…
Cancel
Save