Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Technical Discussion
  3. Federated private groups (Announce vs Add)

Federated private groups (Announce vs Add)

Scheduled Pinned Locked Moved Technical Discussion
activitypub1b12171b
1 Cross-posts 12 Posts 4 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • silverpill@mitra.socialS silverpill@mitra.social

    @julian @sk

    I wouldn't want to send two activities because that doubles the number of delivery requests. But I think implementations can easily accept both types of activities (mitra already does that).

    Also, I don't mind replacing Add with Announce in FEP-171b. It is nice that Add has a Remove counterpart, but Remove is not used in practice. Of course, this can only happen if Hubzilla and Forte devs agree, since these are reference implementations

    cc @mario @highlander

    mario@hub.somaton.comM This user is from outside of this forum
    mario@hub.somaton.comM This user is from outside of this forum
    mario@hub.somaton.com
    wrote last edited by
    #3
    @silverpill imo using Announce instead of Add does not make any sense for conversation containers. You add/remove items to a collection right?

    @julian @z6MkhPXNfiHDh2qSNjFzZ9yY27C1iHnHVbb1eaxuoiEe4tjk/actor" rel="nofollow noopener">Mike Macgirvin
    silverpill@mitra.socialS 1 Reply Last reply
    0
    • mario@hub.somaton.comM mario@hub.somaton.com
      @silverpill imo using Announce instead of Add does not make any sense for conversation containers. You add/remove items to a collection right?

      @julian @z6MkhPXNfiHDh2qSNjFzZ9yY27C1iHnHVbb1eaxuoiEe4tjk/actor" rel="nofollow noopener">Mike Macgirvin
      silverpill@mitra.socialS This user is from outside of this forum
      silverpill@mitra.socialS This user is from outside of this forum
      silverpill@mitra.social
      wrote last edited by
      #4

      @mario Yes, activities are supposed to be added to Add.target. Announce with target is kind of weird, but will be compatible with other federated forums.

      Alternatively, they can start using Add instead of Announce, like we do. @julian Does that sound feasible? Your personal inbox still 404s but maybe the group inbox will work.

      @mike @sk

      julian@activitypub.spaceJ 2 Replies Last reply
      0
      • silverpill@mitra.socialS silverpill@mitra.social

        @mario Yes, activities are supposed to be added to Add.target. Announce with target is kind of weird, but will be compatible with other federated forums.

        Alternatively, they can start using Add instead of Announce, like we do. @julian Does that sound feasible? Your personal inbox still 404s but maybe the group inbox will work.

        @mike @sk

        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.space
        wrote last edited by
        #5

        > @silverpill@mitra.social said:
        >
        > Your personal inbox still 404s but maybe the group inbox will work.

        Unrelated to the topic at hand there was a regression in the codebase for the past month that caused the inbox to return a 404 even with a valid content type header.

        I think that was the cause of the inbox 404

        1 Reply Last reply
        0
        • silverpill@mitra.socialS silverpill@mitra.social

          @mario Yes, activities are supposed to be added to Add.target. Announce with target is kind of weird, but will be compatible with other federated forums.

          Alternatively, they can start using Add instead of Announce, like we do. @julian Does that sound feasible? Your personal inbox still 404s but maybe the group inbox will work.

          @mike @sk

          julian@activitypub.spaceJ This user is from outside of this forum
          julian@activitypub.spaceJ This user is from outside of this forum
          julian@activitypub.space
          wrote last edited by
          #6

          > @silverpill@mitra.social said:
          >
          > Alternatively, they can start using Add instead of Announce, like we do. @julian Does that sound feasible?

          I personally have no problem with it (after all, I advocated in OP to just send both activities)

          But I know @nutomic@lemmy.ml will absolutely veto the discussion because it is a breaking change for the entire threadiverse, and he is not wrong.

          There is a third option... and that is to send a single multi-typed activity 🤣 maybe this is the turning point for adoption of multi type activities! (Of course I'm only half joking because I'm sure that'll be ruled breaking and unfeasible too.)

          cc @mario@hub.somaton.com

          1 Reply Last reply
          0
          • ? Guest crossposted this topic to General Discussion
          • silverpill@mitra.socialS This user is from outside of this forum
            silverpill@mitra.socialS This user is from outside of this forum
            silverpill@mitra.social
            wrote last edited by
            #7

            @julian I think Lemmy can keep sending Announce, but accept Add(Activity) as equivalent. FEP-171b implementers can do the reverse. That's easy and doesn't require any breaking changes. @nutomic @mario

            Please don't use muti-typing :]

            julian@activitypub.spaceJ nutomic@lemmy.mlN 2 Replies Last reply
            1
            • silverpill@mitra.socialS silverpill@mitra.social

              @julian I think Lemmy can keep sending Announce, but accept Add(Activity) as equivalent. FEP-171b implementers can do the reverse. That's easy and doesn't require any breaking changes. @nutomic @mario

              Please don't use muti-typing :]

              julian@activitypub.spaceJ This user is from outside of this forum
              julian@activitypub.spaceJ This user is from outside of this forum
              julian@activitypub.space
              wrote last edited by
              #8

              Is this what Mitra does now for 171b/1b12 cross-compatibility?

              1 Reply Last reply
              0
              • silverpill@mitra.socialS This user is from outside of this forum
                silverpill@mitra.socialS This user is from outside of this forum
                silverpill@mitra.social
                wrote last edited by
                #9

                @julian @mario Yes, it supports both Add and Announce. However, wrapped activities are simply added to a conversation, there is no concept of "group" yet.

                1 Reply Last reply
                1
                • nutomic@lemmy.mlN This user is from outside of this forum
                  nutomic@lemmy.mlN This user is from outside of this forum
                  nutomic@lemmy.ml
                  wrote last edited by
                  #10

                  Is there any reason why Announce could not be used to facilitate private federated group discussions as well? Assuming visibility maintains scoped to addresses, I don’t see any immediate reason why not…

                  Private communities are already implemented in Lemmy 1.0 using Announce. Here is the RFC with details, and you can test it on voyager.lemmy.ml.

                  julian@activitypub.spaceJ 1 Reply Last reply
                  1
                  • silverpill@mitra.socialS silverpill@mitra.social

                    @julian I think Lemmy can keep sending Announce, but accept Add(Activity) as equivalent. FEP-171b implementers can do the reverse. That's easy and doesn't require any breaking changes. @nutomic @mario

                    Please don't use muti-typing :]

                    nutomic@lemmy.mlN This user is from outside of this forum
                    nutomic@lemmy.mlN This user is from outside of this forum
                    nutomic@lemmy.ml
                    wrote last edited by
                    #11

                    Yes that would be doable, feel free to open an issue.

                    1 Reply Last reply
                    1
                    • nutomic@lemmy.mlN nutomic@lemmy.ml

                      Is there any reason why Announce could not be used to facilitate private federated group discussions as well? Assuming visibility maintains scoped to addresses, I don’t see any immediate reason why not…

                      Private communities are already implemented in Lemmy 1.0 using Announce. Here is the RFC with details, and you can test it on voyager.lemmy.ml.

                      julian@activitypub.spaceJ This user is from outside of this forum
                      julian@activitypub.spaceJ This user is from outside of this forum
                      julian@activitypub.space
                      wrote last edited by
                      #12

                      Thanks @nutomic@lemmy.ml! I was wondering about that, so good to know it's possible.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups