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 (Darkly)
  • No Skin
Collapse
Brand Logo
  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
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.
  • julianJ julian

    @sk@utsukta.org mentioned in another thread that the way Hubzilla and threadiverse software handle group discussions is incompatible.

    It got me thinking about whether that is true. At its core both FEPs (171b and 1b12, respectively) rely on a central "distributor" node to send activities to recipients.

    @silverpill@mitra.social did further comparisons in thr text of 171b itself:

    > Announce activity is used instead of Add. Conversation and related activities are synchronized between participants, but conversation backfilling mechanism is not specified.

    The questions here are:

    1. If threadiverse software federated out an Add in addition to Announce, would that satisfy basic synchronization (not backfill) requirements laid out by 171b?
    2. 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...
    silverpillS This user is from outside of this forum
    silverpillS This user is from outside of this forum
    silverpill
    wrote last edited by
    #2

    @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 VavtiM 1 Reply Last reply
    0
    • silverpillS silverpill

      @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 VavtiM This user is from outside of this forum
      Mario VavtiM This user is from outside of this forum
      Mario Vavti
      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
      silverpillS 1 Reply Last reply
      0
      • Mario VavtiM Mario Vavti
        @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
        silverpillS This user is from outside of this forum
        silverpillS This user is from outside of this forum
        silverpill
        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

        julianJ 2 Replies Last reply
        0
        • silverpillS silverpill

          @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

          julianJ This user is from outside of this forum
          julianJ This user is from outside of this forum
          julian
          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
          • silverpillS silverpill

            @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

            julianJ This user is from outside of this forum
            julianJ This user is from outside of this forum
            julian
            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
            1
            0
            • R AodeRelay shared this topic
            • silverpillS This user is from outside of this forum
              silverpillS This user is from outside of this forum
              silverpill
              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 :]

              julianJ NutomicN 2 Replies Last reply
              2
              0
              • R ActivityRelay shared this topic
              • silverpillS silverpill

                @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 :]

                julianJ This user is from outside of this forum
                julianJ This user is from outside of this forum
                julian
                wrote last edited by
                #8

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

                1 Reply Last reply
                2
                0
                • silverpillS This user is from outside of this forum
                  silverpillS This user is from outside of this forum
                  silverpill
                  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
                  0
                  • NutomicN This user is from outside of this forum
                    NutomicN This user is from outside of this forum
                    Nutomic
                    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.

                    julianJ 1 Reply Last reply
                    2
                    0
                    • silverpillS silverpill

                      @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 :]

                      NutomicN This user is from outside of this forum
                      NutomicN This user is from outside of this forum
                      Nutomic
                      wrote last edited by
                      #11

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

                      1 Reply Last reply
                      1
                      0
                      • NutomicN Nutomic

                        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.

                        julianJ This user is from outside of this forum
                        julianJ This user is from outside of this forum
                        julian
                        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
                        2
                        0
                        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