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 ♥️🇪🇺

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

help-circle




  • @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?




  • Hmm… considering that Piefed cross-posts are entirely separate posts, then if the original is edited, then the modification is not carried over to the cross-posted post, correct?

    I’m thinking that for NodeBB we could continue to have cross-posts reference the canonical topic. They’d simply be part of a separate audience as well.

    Whether this is local-only or not, I am not sure yet. Perhaps for federation purposes we’d still report the original category (if there is one) under audience






  • @scott@loves.tech Hubzilla is formatting its Notes in a manner I wasn’t expecting.

    • The group actor is the attributedTo, which is not possible in NodeBB
    • The note itself is not addressed to the group actor, only its followers collection
    • There is no way to discern without parsing the note content itself who authored the original note.

    So at present while I would be able to retrieve the note, without a proper backreference to the group actor, I don’t think I can slot it correctly.

    Not sure why the received activity is returning a 403, as well.


  • @scott@loves.tech can you share an example of a group actor from Hubzilla? Would be interesting to see how that’s handled. Likely it wouldn’t work properly because categories in NodeBB don’t author posts.

    Do your group actors send creates on behalf of regular users? That might work ok.

    Lastly, there’s no requirement that a NodeBB category be mentioned. It only needs to be addressed. A mention is the easiest way to do that because addressing is abstracted out of the Mastodon UI.

    But for things like PieFed, Lemmy, Mbin, and likely Hubzilla, you’re able to change addressing based on where you create the post.


  • @CWSmith hashtags in NodeBB are only relevant at the topic level — that’s just how it was designed years ago.

    You’ll note that on microblogs, tags can be added on any post. While we show them, we don’t consume or index them unless they are the original post.

    When you use tags in NodeBB, they are federated outward with the original post.

    Hope that helps!