GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    :blank: (i@declin.eu)'s status on Monday, 05-Jun-2023 08:36:53 JST:blank::blank:
    in reply to
    • pistolero :thispersondoesnotexist:
    • Sexy Moon
    • Your New Marijuana Injecting Waifu :weed:
    • Alex Gleason
    • l:3nya
    @l @sjw @p @Moon definitely, the code to hack is
    https://git.pleroma.social/pleroma/pleroma/-/blob/e8d35256653d196fd7c0daba8673a74dfe40a8e8/lib/pleroma/web/activity_pub/activity_pub.ex#L664

    the simplest way would be to fetch activities from the DB as normal
    and then if there's not enough activities
    fire off a GET /api/v1/accounts/:id/statuses request to their instance, iterate with Pleroma.Object.Fetcher.fetch_object_from_id(id)
    and redo the DB query

    figuring out the max_id=pagination might be a bit complicated though, the id's being snowflake<time,rand> might make up for it though

    @alex thoughts?
    In conversationMonday, 05-Jun-2023 08:36:53 JST from declin.eupermalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: git.pleroma.social
      lib/pleroma/web/activity_pub/activity_pub.ex · e8d35256653d196fd7c0daba8673a74dfe40a8e8 · Pleroma / pleroma · GitLab
      Pleroma backend
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.