Add PR and Issue Numbers for TODO for createFromUriId hack in Mastodon API
This commit is contained in:
@@ -53,7 +53,9 @@ class Unmute extends BaseApi
|
||||
|
||||
Post\ThreadUser::setIgnored($item['uri-id'], $uid, false);
|
||||
|
||||
// @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());
|
||||
|
||||
Reference in New Issue
Block a user