# If you Announce(Object) are you not following FEP 1b12?

**URL:** <https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299>\
**Category:** Threadiverse Working Group\
**Created:** [June 6, 2024, 8:05pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299 "2024-06-06T20:05:26Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![julian](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/julian/32/3079_2.png) [@julian](https://socialhub.activitypub.rocks/u/julian)\
**Post date:** [June 6, 2024, 8:05pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/1 "2024-06-06T20:05:27Z")

</div>

_This is a spin-off discussion from today's ForumWG meeting_

At today's ForumWG meeting, [@trwnh@mastodon.social](https://mastodon.social/@trwnh) mentioned that `Announce(Object)` is something that Hubzilla and Friendica do, but the proper FEP 1b12 behaviour is to send out `Announce(Activity)`.

I noted that NodeBB actually announces the Note object itself, instead of the activity, and provided some context that Discourse (via [@angusmcleod@mastodon.social](https://mastodon.social/@angusmcleod)) originally expected Activities, but now also accepts objects (implicit create) for compatibility with NodeBB. Likewise, NodeBB also added some logic to handle `Announce(Create(Note))` for compatibility.

Would `Announce(Object)` be considered a "variant" of 1b12, implemented within the spirit of the FEP, but not a technically compliant implementation?

---

<div class="post-metadata">

**Author:** ![silverpill](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/silverpill/32/1770_2.png) [@silverpill](https://socialhub.activitypub.rocks/u/silverpill)\
**Post date:** [June 6, 2024, 10:37pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/2 "2024-06-06T22:37:58Z")

</div>

[@julian](https://community.nodebb.org/user/julian) [@trwnh](https://mastodon.social/@trwnh) [@angusmcleod](https://mastodon.social/@angusmcleod) `Announce(Object)` is a boost/share/repost in Mastodon and other micro-blogging apps. I think it can't be considered a variant of FEP-1b12. And the FEP only talks about announcing activities:

\>In case the incoming activity is deemed valid, the group MUST wrap it in an Announce activity, with the original activity as object

---

<div class="post-metadata">

**Author:** ![julian](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/julian/32/3079_2.png) [@julian](https://socialhub.activitypub.rocks/u/julian)\
**Post date:** [June 6, 2024, 10:41pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/3 "2024-06-06T22:41:19Z")

</div>

[@silverpill@mitra.social](https://mitra.social/users/silverpill) in my experience many talk about FEP 1b12 implementations as "boosting" to the group, hence the confusion.

---

<div class="post-metadata">

**Author:** ![silverpill](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/silverpill/32/1770_2.png) [@silverpill](https://socialhub.activitypub.rocks/u/silverpill)\
**Post date:** [June 7, 2024, 12:07am UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/4 "2024-06-07T00:07:59Z")

</div>

[@julian](https://community.nodebb.org/user/julian) It might be because of what FEP-1b12 says in "Implementations" section:

\>This document is written based on existing group implementations in Lemmy, Friendica, Hubzilla, Lotide and Peertube. These already federate successfully in production.

Some of these implementations may support Announce(Activity) today, but as far as I know they didn't support it when FEP-1b12 was written

---

<div class="post-metadata">

**Author:** ![julian](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/julian/32/3079_2.png) [@julian](https://socialhub.activitypub.rocks/u/julian)\
**Post date:** [June 7, 2024, 2:04am UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/5 "2024-06-07T02:04:40Z")

</div>

Thank you [@silverpill@mitra.social](https://mitra.social/users/silverpill) for providing some helpful context.

In that sense, then, it seems as though [@nutomic@lemmy.ml](https://lemmy.ml/u/nutomic) expected going in that existing implementations would not be strictly compatible with his vision, but one would assume some form of compatibility was reached in spite of this?

That is, Lemmy may expect `Announce(Activity)`, but I bet it also accepts `Announce(Object)` if one of their users were to follow a Hubzilla/Friendica group actor...

---

<div class="post-metadata">

**Author:** ![bumblefudge](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/bumblefudge/32/1970_2.png) [@bumblefudge](https://socialhub.activitypub.rocks/u/bumblefudge)\
**Post date:** [June 7, 2024, 7:58am UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/6 "2024-06-07T07:58:40Z")

</div>

> [@julian](#):
>
> Lemmy may expect `Announce(Activity)`, but I bet it also accepts `Announce(Object)` if one of their users were to follow a Hubzilla/Friendica group actor…

Would it help to add a “Legacy Compatibility”/Postel’s Law section explaining this to the FEP itself? As in,

“An implementation MUST produce `Announce(Activity)` messages to conform to this FEP, but it MAY also accept [edit: and/or emit] `Announce(Object)` as well for wider compatibility, and if you do, the recommended behavior is… { Normalize | Drop | Translate | etc }”

This is helpful to people writing test suites/test-cases because it can give warnings for what an implementation will _receive_ that still help compatibility without giving anyone “Fails” for the core feature 😃

---

<div class="post-metadata">

**Author:** ![silverpill](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/silverpill/32/1770_2.png) [@silverpill](https://socialhub.activitypub.rocks/u/silverpill)\
**Post date:** [June 7, 2024, 1:52pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/7 "2024-06-07T13:52:44Z")

</div>

[@julian](https://community.nodebb.org/user/julian) [@nutomic](https://lemmy.ml/u/nutomic) When Lemmy creates a post it sends both `Announce(Object)` and `Announce(Create(Object))`. I don't know about accepting `Announce(Object)`, but likely it does that too

---

<div class="post-metadata">

**Author:** ![silverpill](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/silverpill/32/1770_2.png) [@silverpill](https://socialhub.activitypub.rocks/u/silverpill)\
**Post date:** [June 7, 2024, 2:39pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/8 "2024-06-07T14:39:56Z")

</div>

Information about Legacy Compatibility was not included on purpose: [#20 - Add FEP-1b12: Group federation - fediverse/fep - Codeberg.org](https://codeberg.org/fediverse/fep/pulls/20#issuecomment-687050)  
But I still think it would be helpful to include. Perhaps in a different FEP, because FEP-1b12 was finalized.

---

<div class="post-metadata">

**Author:** ![julian](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/julian/32/3079_2.png) [@julian](https://socialhub.activitypub.rocks/u/julian)\
**Post date:** [June 7, 2024, 2:46pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/9 "2024-06-07T14:46:51Z")

</div>

[@silverpill@socialhub.activitypub.rocks](https://socialhub.activitypub.rocks/u/silverpill) I'm not certain whether the variance rises to the level of requiring a separate FEP, since it is essentially just supporting the lack of an activity wrapped around the object in question.

It's unfortunate that finalized FEPs cannot change, since it's essentially just a non-normative description of backward/alternative behaviour.

---

<div class="post-metadata">

**Author:** ![silverpill](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/silverpill/32/1770_2.png) [@silverpill](https://socialhub.activitypub.rocks/u/silverpill)\
**Post date:** [June 7, 2024, 3:09pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/10 "2024-06-07T15:09:51Z")

</div>

Minor changes are allowed:

> A proposal with status `FINAL` can not be changed or updated in a way that would lead to adjustments to implementations.

The paragraph proposed by @bumblefudge sounds like a normative change, but not a backward incompatible one, so I wouldn’t object against including it.

---

<div class="post-metadata">

**Author:** ![nutomic](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/nutomic/32/1055_2.png) [@nutomic](https://socialhub.activitypub.rocks/u/nutomic)\
**Post date:** [June 7, 2024, 9:06pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/11 "2024-06-07T21:06:27Z")

</div>

Lemmy only supports `Announce/Activity`, with the exception of sending `Announce/Page` for Mastodon compatibility. When I wrote the FEP I wasn’t aware that Hubzilla and Friendica send `Announce/Object`, otherwise I might have included that.

---

<div class="post-metadata">

**Author:** ![julian](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/julian/32/3079_2.png) [@julian](https://socialhub.activitypub.rocks/u/julian)\
**Post date:** [June 8, 2024, 3:24pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/12 "2024-06-08T15:24:35Z")

</div>

Thanks for supplying some additional context [@nutomic@socialhub.activitypub.rocks](https://socialhub.activitypub.rocks/u/nutomic)

Understanding that, then, would you be open to amending the FEP to include observed behaviour from other implementors who send `Announce(Object)` instead?

A second optional pattern would be sending an `Announce(Object)` for increased compatibility with other implementers, though it may be harder to justify amending the FEP for that.

---

<div class="post-metadata">

**Author:** ![nutomic](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/nutomic/32/1055_2.png) [@nutomic](https://socialhub.activitypub.rocks/u/nutomic)\
**Post date:** [June 8, 2024, 7:21pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/13 "2024-06-08T19:21:55Z")

</div>

Yes it would make sense to include `Announce/Object` as a shorthand for `Announce/Create/Object`.

---

<div class="post-metadata">

**Author:** ![julian](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/julian/32/3079_2.png) [@julian](https://socialhub.activitypub.rocks/u/julian)\
**Post date:** [June 14, 2024, 5:28pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/14 "2024-06-14T17:28:53Z")

</div>

As per the discussion generated by this topic, I have updated the NodeBB implementation so that its group actors (NodeBB categories) send out `Announce(Create(Note))` in addition to `Announce(Note)`, the latter being sent out for compatibility with services that do not handle activity announcement.

---

<div class="post-metadata">

**Author:** ![julian](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/julian/32/3079_2.png) [@julian](https://socialhub.activitypub.rocks/u/julian)\
**Post date:** [June 14, 2024, 6:14pm UTC](https://socialhub.activitypub.rocks/t/if-you-announce-object-are-you-not-following-fep-1b12/4299/15 "2024-06-14T18:14:20Z")

</div>

I've also added FEP 1b12 announces for additional activities:

- Create
- Update
- Like
- Undo(Like)
- Delete

Confirming that at least Discourse accepted the `Announce(Like(Note))` and parsed it correctly.
