kopia lustrzana https://github.com/pixelfed/pixelfed
Update NotificationTransformer
rodzic
530149f0f4
commit
abcc62a3fc
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue