Co-Founder (NodeBB) | Husband 🤷‍♂️ and Dad 🙉 to three | Rock Climber 🧗‍♂️ | Foodie 🥙 | Conductor 🎵 | Saxophonist 🎷

✅ Small teams craft better code.
🇨🇦 Made in Canada
🗨️ Federating NodeBB with funding from NLNet ♥️🇪🇺

  • 26 Posts
  • 101 Comments
Joined 12 years ago
cake
Cake day: June 17th, 2013

help-circle





  • Let’s clarify something here. Mastodon follower only posts don’t have the “public pseudo user” addressed, do they?

    That’s the important piece that this whole thing hinges upon

    If it is present, Mastodon is a fault. If not, Pixelfed messed up.

    Am I mistaken?

    For example, a followers-only post is addressed to the followers collection of the author, at minimum. When NodeBB sees this, it doesn’t even consider it public, because the public pseudo user isn’t addressed. We also have no concept of “followers only”, but we handle them just fine.







  • @AltCode I forked this out to a new topic. I think it’s time to loop @pfefferle@mastodon.social into the conversation (at the very least so this could be potentially escalated).

    Mattias, it seems that when the WPML and ActivityPub plugins are enabled together, notes federated out by the blog user in another language have different ids but the same preferredUsername.

    e.g. ruari@vivaldi.com: https://vivaldi.com/?author=46 and https://vivaldi.com/ja/?author=46

    NodeBB interprets this as two different users. Curiously, Mastodon does not, the second ID explicitly does not resolve.

    So there can be two solutions here:

    1. The underlying issue can be fixed by WordPress, the solution of which is out of scope (for me at least)
    2. NodeBB can adopt whatever mechanism Mastodon is using… which is most likely that Mastodon does a two-way when asserting an ID, and ensures that the webfinger resource points to the ID.

  • @AltCode okay! Thanks for reporting, it sounds like there are two issues going on:

    1. Categories losing their handle-to-id association
      • Frustratingly, this read very similarly to #13283, and both remote users and categories share similar logic. I have so far not been able to reproduce it at all on local development.
    2. Separate users (different IDs) sharing the same preferredUsername.
      • This is an interesting one, and I am not entirely sure where the fault lies. I wonder how other software handles it?





  • Based on the replies received, it does sound like at present that if cross-posting is a consideration, it is something done locally, and not something that is explicitly declared when federating outward or retrieved via AP.

    There are also multiple definitions of cross-posting:

    1. Multiple, disparate topics sharing the same attachment url (PieFed)
    2. Author targeting multiple audiences
    3. Non-author sharing object to additional audiences

    One of those is really not like the other, which does complicate things somewhat. Thankfully, it does seem like that the way PieFed handles it, is local to the instance.

    A good first step might be to narrow down the definition of cross-posting—at least from a protocol level—to a combination of the latter two:

    > “A user (which may or may not be the object author) sharing an object to additional audiences”

    Of course, this also happens to be what I’m looking for: the association of an as:announce activity with an as:target pointing to an as:Group actor.

    Would this be of interest to anybody here? The fallback mechanism is to just treat the announce as usual.