mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update NotificationTransformer
This commit is contained in:
parent
530149f0f4
commit
abcc62a3fc
1 changed files with 2 additions and 3 deletions
|
@ -49,10 +49,9 @@ class NotificationTransformer extends Fractal\TransformerAbstract
|
||||||
$verbs = [
|
$verbs = [
|
||||||
'follow' => 'follow',
|
'follow' => 'follow',
|
||||||
'mention' => 'mention',
|
'mention' => 'mention',
|
||||||
'reblog' => 'share',
|
'share' => 'reblog',
|
||||||
'share' => 'share',
|
|
||||||
'like' => 'favourite',
|
'like' => 'favourite',
|
||||||
'comment' => 'comment',
|
'comment' => 'mention',
|
||||||
];
|
];
|
||||||
return $verbs[$verb];
|
return $verbs[$verb];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue