Item::update(['starred' => true], ['id' => $item['id']]);
- // @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());
Item::performActivity($item['id'], 'like', $uid);
- // @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());
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());
Post\Collection::add($item['uri-id'], Post\Collection::FEATURED, $item['author-id'], $uid);
- // @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());
Item::performActivity($item['id'], 'announce', $uid);
}
- // @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());
Item::update(['starred' => false], ['id' => $item['id']]);
- // @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());
Item::performActivity($item['id'], 'unlike', $uid);
- // @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());
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());
Post\Collection::remove($item['uri-id'], Post\Collection::FEATURED, $uid);
- // @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());
Item::performActivity($item['id'], 'unannounce', $uid);
}
- // @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());