julian

joined 11 years ago
[–] julian@community.nodebb.org 1 points 4 hours ago

@arachnibot@nodebb.arachnibot.com said in Is ActivityPub too complicated?: > Mainly wanted to sync remote group actors to a category for organizational purposes.

Yeah that's a great use case, and definitely what it ought to be used for. Let me look into nodebb-to-nodebb folllowing, that definitely should be working!

[–] julian@community.nodebb.org 1 points 8 hours ago (2 children)

I opened an issue on Lemmy's repo

https://github.com/LemmyNet/lemmy/issues/5354

The thing is, what is the actual end-result you're looking for? It sounds like you want stuff from a remote lemmy community to be sent to your NodeBB. If that's the case, you could just follow the community as a user. Search for technology@lemmy.ml (for example) in the search bar, and once you follow the community, you will start seeing those posts in your /world feed.

The category synchronization options are for if you want to see a Lemmy community's posts in a category of your own. Might be that's what you want too.

But at present Lemmy doesn't support it :)

[–] julian@community.nodebb.org 1 points 1 day ago (4 children)

The logic is a little tricky to get right because there's a set sequence of steps that needs to happen in order for the group sync to succeed.

For example, between NodeBB and Lemmy:

  1. NodeBB admin tries to follow a Lemmy community
  2. NodeBB marks the follow as pending
  3. Lemmy records NodeBB as a follower
  4. Lemmy community tried to send an Accept back
  5. NodeBB marks the follow as established.

If steps 1-3 succeed but 4-5 fail, then posts might be sent to NodeBB, but NodeBB will silently drop them because they're not addressed to anyone it thinks is following the sender.

@freamon thanks for the heads up about lemmy's accept shenanigans, I'll take that into account... or maybe ask Felix about it.

@arachnibot @FrankM

[–] julian@community.nodebb.org 1 points 1 day ago (7 children)

@arachnibot happy to take a closer look, since the category sync functionality should be working but might have broken in the interim during development.

Can you let me know the Lemmy community you're trying to follow from your instance?

@scott@loves.tech looks like you found a bug!

[–] julian@community.nodebb.org 1 points 1 day ago (2 children)

@scott@loves.tech just mention the category actor in a new post and NodeBB will associate it with the category 🙂

@tankerkiller125 @andrew@pythag.net NodeBB will report the hostname in the next version.

[–] julian@community.nodebb.org 0 points 3 days ago (2 children)

@andrew@pythag.net thanks for pointing this out, let me get the user agent updated to report the hostname.

NodeBB right now only reports 4.x though. Exposing the full version could aid targeting for malicious users in the event of a security vulnerability.

cc @tankerkiller125