this post was submitted on 13 May 2025
1 points (100.0% liked)

ActivityPub

0 readers
2 users here now

Focused discussion related to ActivityPub integration in NodeBB


This is a forum category containing topical discussion. You can start new discussions by mentioning this category.

founded 5 months ago
 

I'm wondering how content on threadiverse is automatically assigned its community when received by the software (e.g. PieFed, Lemmy, Mbin).

The answer I am expecting is "if the community is addressed (to, cc, audience), then it is slotted into that community".

However that causes issues for compatibility with microblogs... for example, silverpill@mitra.social recently authored a post that mentioned [swf@socialwebfoundation.org](https://community.nodebb.org/category/swf@socialwebfoundation.org) and it got slotted into that community on NodeBB, which isn't correct since that group is private.

Better practice would be to only trust the addressed community if it is Announce'd by the community directly, but would fall short if my instance does not receive the Announce (say, if nobody follows the community), in which case we'd fall back to "uncategorized", which is where all microblog posts currently go. Then it's neither correct nor incorrect, I suppose.

I think this might be an issue where NodeBB tries to be too many things at once (microblog and threadiverse compatible).

you are viewing a single comment's thread
view the rest of the comments
[–] julian@community.nodebb.org 1 points 1 month ago (1 children)

silverpill@mitra.social yes, it should. Mentioning the category means it will be addressed and NodeBB will slot the received content in the first group object it finds.

[–] silverpill@mitra.social 1 points 1 month ago (1 children)

If I create a topic this way, I will be the owner of the context collection. But if the conversation is to be moderated, it should be owned by the group.

Am I correct?

(there is a parallel discussion happening at https://codeberg.org/streams/streams/issues/229)

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

I suppose you're right in a way. The context owner is not supposed to be set by someone other than the context owner. It's a fallback mechanism intended for better compatibility with Mastodon.

When a group is addressed and it is one of the local NodeBB categories, it will assume control

If it is another group that it knows about but isn't same origin to the author, then no category is assumed.

[–] silverpill@mitra.social 1 points 1 month ago

How it works between forums, e.g. between Discourse and NodeBB?
Can a Discourse user create a topic in NodeBB category?
Who creates/owns the context collection in this case?