From: Michael Vogel <icarus@dabo.de>
Date: Mon, 5 Dec 2022 03:37:04 +0000 (+0100)
Subject: Update src/Factory/Api/Mastodon/Status.php
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28c7fda6e9acc7dd64efe1a69577c1d6bed96407;p=friendica.git

Update src/Factory/Api/Mastodon/Status.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
---

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([