From 28c7fda6e9acc7dd64efe1a69577c1d6bed96407 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 5 Dec 2022 04:37:04 +0100 Subject: [PATCH] Update src/Factory/Api/Mastodon/Status.php Co-authored-by: Hypolite Petovan --- src/Factory/Api/Mastodon/Status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Factory/Api/Mastodon/Status.php b/src/Factory/Api/Mastodon/Status.php index 533c95a33a..94b42ce79c 100644 --- a/src/Factory/Api/Mastodon/Status.php +++ b/src/Factory/Api/Mastodon/Status.php @@ -107,7 +107,7 @@ class Status extends BaseFactory } } else { $is_reshare = $reblog && !is_null($item['causer-uri-id']) && ($item['causer-id'] != $item['author-id']) && ($item['post-reason'] == Item::PR_ANNOUNCEMENT); - $account = $this->mstdnAccountFactory->createFromUriId($is_reshare ? $item['causer-uri-id']:$item['author-uri-id'], $uid); + $account = $this->mstdnAccountFactory->createFromUriId($is_reshare ? $item['causer-uri-id'] : $item['author-uri-id'], $uid); } $count_announce = Post::countPosts([ -- 2.39.5