Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

NodeBB <> Lemmy federation issue (re: nullable image/icon)

Technical Discussion
14 4 19

Gli ultimi otto messaggi ricevuti dalla Federazione
  • No, Move is a good choice, but I do have a problem with its object being a collection. I am not sure if I can implement this in my ActivityPub client application.

    Are you opposed to adding a companion object?

    read more

  • Would update work better?

    Move is pretty self explanatory, and I don't have any issue with a collection being moved from a collection to another collection (despite how odd that sounds.)

    read more

  • @julian If context is a collection, Move is problematic for the same reason as Delete. I think users shouldn't move server-managed views.

    It would be better to introduce a companion object (or an actor) for context collection. I guess I need to say something that in FEP-f228.

    read more

  • @julian so this is still in effect a Remove or Update, not a Move. if you wanted it to be a Move, you would instead have an "uncategorized" category whose id is /categories/-1 or something like that.

    read more

  • trwnh@mastodon.social receiving a Move(Context) where target is null would tell NodeBB to move the topic to -1, uncategorized.

    For those not supporting the catch-all bucket, deleting the context is ok too.

    read more

  • @julian but more generally my question is, what practical application would you need to make use of an empty set []? like, a consumer encountering a value should do A, encountering a null or missing property should do B, encountering an empty set should do C... what is the difference between B and C?

    read more

  • @julian no, null is the same as nothing. what you want is more like [] (the empty set). in the case where you Move something without a target, you should be sending an Update instead.

    read more

  • trwnh@mastodon.social found one.

    NodeBB uses audience to denote which audience an object (or context) belongs to.

    Posts and Topics in NodeBB can belong to no context at all. null would be the way to communicate this, since omission might mean one isn't specified.

    Likewise, a Move(Context) where a topic is moved out of a category but not into another. You probably shouldnt omit target there.

    read more
Post suggeriti