]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Factory/Api/Mastodon/Status.php
authorMichael Vogel <icarus@dabo.de>
Mon, 5 Dec 2022 03:37:04 +0000 (04:37 +0100)
committerGitHub <noreply@github.com>
Mon, 5 Dec 2022 03:37:04 +0000 (04:37 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Factory/Api/Mastodon/Status.php

index 533c95a33abb2258020c931764d4f43df0b45917..94b42ce79cb5f41d9cd6b077c333e9fef7533b87 100644 (file)
@@ -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([