trwnh.com/unified.test.hugo/content/kb/activitypub/ideas/Message.md

1.1 KiB

what if we had a Message type

Message is an IntransitiveActivity?

id: https://alice.social/activities/1
actor: https://alice.social
type: Message
to: https://bob.social
content: "hello bob"

representing rooms with context:

id: https://alice.social/activities/1
actor: https://alice.social
type: Message
to: https://rooms.social/rooms/1/audience  # inbox forwarding, probably
content: "hello room"
context: https://rooms.social/rooms/1  # verify inclusion how?

making the context into an actor:

id: https://alice.social/activities/1
actor: https://alice.social
type: Message
to: # inbox forwarding, definitely
  - https://rooms.social/rooms/1  # we need to deliver to the room actor
  - https://rooms.social/rooms/1/followers  # rooms.social or the room actor's client will forward to participants
content: "hello room"
context: https://rooms.social/rooms/1

use of bto/bcc?

id: https://alice.social/activities/1
actor: https://alice.social
type: Message
content: "hello room"  # arguably only the content needs to be signed? no need for canonicalization
context: https://rooms.social/rooms/1