mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
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->message = $status->shareToText();
|
||||
$notification->rendered = $status->shareToHtml();
|
||||
$notification->item_id = $status->id;
|
||||
$notification->item_id = $status->reblog_of_id ?? $status->id;
|
||||
$notification->item_type = "App\Status";
|
||||
$notification->save();
|
||||
|
||||
|
|
Loading…
Reference in a new issue