mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update StatusRemoteUpdatePipeline, fix typo
This commit is contained in:
parent
53e0df4169
commit
109d041908
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class StatusRemoteUpdatePipeline implements ShouldQueue
|
||||||
protected function createEdit($status, $activity)
|
protected function createEdit($status, $activity)
|
||||||
{
|
{
|
||||||
$cleaned = isset($activity['content']) ? Purify::clean($activity['content']) : null;
|
$cleaned = isset($activity['content']) ? Purify::clean($activity['content']) : null;
|
||||||
$spoiler_text = isset($activity['summary']) ? Purify::clean($attributes['summary']) : null;
|
$spoiler_text = isset($activity['summary']) ? Purify::clean($activity['summary']) : null;
|
||||||
$sensitive = isset($activity['sensitive']) ? $activity['sensitive'] : null;
|
$sensitive = isset($activity['sensitive']) ? $activity['sensitive'] : null;
|
||||||
$mids = $status->media()->count() ? $status->media()->orderBy('order')->pluck('id')->toArray() : null;
|
$mids = $status->media()->count() ? $status->media()->orderBy('order')->pluck('id')->toArray() : null;
|
||||||
StatusEdit::create([
|
StatusEdit::create([
|
||||||
|
|
Loading…
Reference in a new issue