I could try and find a way to condense crossposts in photon into single posts in your home feed.

(For example, if you see post x, and then later see post y, which is a crosspost of x, it’ll be hidden. A little crossposts icons will be visible at the bottom of post x.)

I can’t find an easy way to do this without a crossposts property in PostView though.

  • erlend_sh@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    I’d love that!

    Not sure what a ‘crossposts property in PostView’ means, but if there’s a Lemmy issue to track that I’ll be keeping an eye on it.

    • Xylight (Photon dev)@lemmy.xylight.devOPM
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      To be able to see what a post is crossposted to, the API returns those things.

      When getting a single post, it returns a PostResponse, which includes a list of crossposts.

      When getting posts in a list though, it only gives me a list of PostViews. This doesn’t have the crossposts property I need, so I can’t tell what this has been crossposted to.

      A solution would be a property like “crosspost_ids” with a list of post IDs. This would still work.