mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 16:23:16 +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->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