• freamon@preferred.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 days ago

    Lemmy (still) doesn’t support pinning by non-local mods: I just tried for feddit.nl (which is on 0.19.10), and it rejects the activity (the specific error is 400: {"error":"couldnt_find_community"} but that’s not really relevant 'cos the community is plenty findable from the activity)

      • freamon@preferred.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        It was yeah. It’s what I happened to have on me at the time, but the activity sent will just have been a copy of what Lemmy sends, so I thought it would apply the same. The activity was:

        {
        "id": "https://pythag.net/activities/add/zPnR48IYPc7MUUX", 
        "type": "Add", 
        "actor": "https://pythag.net/u/andrew",
        "object": "https://feddit.nl/post/31230016",
        "target": "https://feddit.nl/c/trendingcommunities/featured", 
        "@context": ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"],
        "audience": "https://feddit.nl/c/trendingcommunities", 
        "to": ["https://www.w3.org/ns/activitystreams#Public"], 
        "cc": ["https://feddit.nl/c/trendingcommunities"]
        }
        
        • flamingos-cant@feddit.uk
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Hmm, yeah that does look identical to what Lemmy outputs:

          {
            "@context": [
              "https://join-lemmy.org/context.json",
              "https://www.w3.org/ns/activitystreams"
            ],
            "actor": "https://feddit.uk/u/flamingos",
            "to": [
              "https://www.w3.org/ns/activitystreams#Public"
            ],
            "object": "https://feddit.uk/post/15520058",
            "target": "https://sappho.social/c/herfriend/featured",
            "cc": [
              "https://sappho.social/c/herfriend"
            ],
            "type": "Add",
            "id": "https://feddit.uk/activities/add/844d6269-467e-45cc-81ef-e1677c547d5d",
            "audience": "https://sappho.social/c/herfriend"
          }
          

          Is it that the communities locked? I can’t imagine that’s why, but I’ll test it.

        • flamingos-cant@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 days ago

          It might be because Lemmy doesn’t write featured posts from remote mods into the mod_feature_post table. IDK, we’ll see if this post stays featured and if not, I’ll try to track down what’s causing it. I’ve definitely noticed weirdness with it before (here).

    • Blaze (he/him) @lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      1
      ·
      8 days ago

      It seems like version 0.19.9 or 0.19.10 fixed it. Lemmy.zip updated recently, maybe try once more? If it still doesn’t work, maybe try to recreate the post from your lemmy.zip account rather than jlai.lu, maybe that can help as well