diff --git a/app/Transformer/Api/Mastodon/v1/NotificationTransformer.php b/app/Transformer/Api/Mastodon/v1/NotificationTransformer.php index 1f7bdf27..36465957 100644 --- a/app/Transformer/Api/Mastodon/v1/NotificationTransformer.php +++ b/app/Transformer/Api/Mastodon/v1/NotificationTransformer.php @@ -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]; }