From 48f279059365a6b140f99a33ba8c953c6c737570 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 30 Jul 2021 14:05:57 +0000 Subject: [PATCH] Spaces removed --- src/Factory/Api/Mastodon/ScheduledStatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Factory/Api/Mastodon/ScheduledStatus.php b/src/Factory/Api/Mastodon/ScheduledStatus.php index f4b805a50a..987ba201f6 100644 --- a/src/Factory/Api/Mastodon/ScheduledStatus.php +++ b/src/Factory/Api/Mastodon/ScheduledStatus.php @@ -63,7 +63,7 @@ class ScheduledStatus extends BaseFactory foreach ($parameters['attachments'] as $attachment) { $media_ids[] = Photo::getIdForName($attachment['url']); } - + if (isset($parameters['item']['thr-parent']) && ($parameters['item']['gravity'] ?? GRAVITY_PARENT != GRAVITY_PARENT)) { $in_reply_to_id = ItemURI::getIdByURI($parameters['item']['thr-parent']); } else {