forked from mirror/pixelfed
Update SharePipeline, fix item relation bug
This commit is contained in:
parent
79babf613e
commit
b5899648c5
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class SharePipeline implements ShouldQueue
|
||||||
$notification->action = 'share';
|
$notification->action = 'share';
|
||||||
$notification->message = $status->shareToText();
|
$notification->message = $status->shareToText();
|
||||||
$notification->rendered = $status->shareToHtml();
|
$notification->rendered = $status->shareToHtml();
|
||||||
$notification->item_id = $status->id;
|
$notification->item_id = $status->reblog_of_id ?? $status->id;
|
||||||
$notification->item_type = "App\Status";
|
$notification->item_type = "App\Status";
|
||||||
$notification->save();
|
$notification->save();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue