mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
Add PR and Issue Numbers for TODO for createFromUriId hack in Mastodon API
This commit is contained in:
parent
f879b2c9bc
commit
0985ddb3ff
10 changed files with 30 additions and 10 deletions
|
@ -53,7 +53,9 @@ class Mute extends BaseApi
|
|||
|
||||
Post\ThreadUser::setIgnored($item['uri-id'], $uid, true);
|
||||
|
||||
// @TODO Remove once mstdnStatus()->createFromUriId is fixed
|
||||
// @TODO Remove once mstdnStatus()->createFromUriId is fixed so that it returns posts not reshared posts if given an ID to an original post that has been reshared
|
||||
// Introduced in this PR: https://github.com/friendica/friendica/pull/13175
|
||||
// Issue tracking the behavior of createFromUriId: https://github.com/friendica/friendica/issues/13350
|
||||
$isReblog = $item['uri-id'] != $this->parameters['id'];
|
||||
|
||||
System::jsonExit(DI::mstdnStatus()->createFromUriId($this->parameters['id'], $uid, self::appSupportsQuotes(), $isReblog)->toArray());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue