From 4bf19a6ccaf02957b2b453c265e68369f98b12f8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 10 Sep 2024 17:04:36 +0200 Subject: [PATCH] docs: Fix copy-paste-error on Join/Leave docs for Bot messages Signed-off-by: Joas Schilling --- docs/bots.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/bots.md b/docs/bots.md index b5817a488..417faa4b8 100644 --- a/docs/bots.md +++ b/docs/bots.md @@ -109,7 +109,7 @@ The content format follows the [Activity Streams 2.0 Vocabulary](https://www.w3. "id": "bots/bot-a78f46c5c203141b247554e180e1aa3553d282c6", "name": "Bot123" }, - "target": { + "object": { "type": "Collection", "id": "n3xtc10ud", "name": "world" @@ -123,8 +123,8 @@ The content format follows the [Activity Streams 2.0 Vocabulary](https://www.w3. |------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | actor.id | Bot's [actor type](constants.md#actor-types-of-chat-messages) followed by the `/` slash character and a bot's unique sha1 identifier with `bot-` prefix. | | actor.name | The display name of the bot. | -| target.id | The token of the conversation in which the bot was added. | -| target.name | The name of the conversation in which the bot was added. | +| object.id | The token of the conversation in which the bot was added. | +| object.name | The name of the conversation in which the bot was added. | ## Bot removed from a chat @@ -152,7 +152,7 @@ The content format follows the [Activity Streams 2.0 Vocabulary](https://www.w3. "id": "bots/bot-a78f46c5c203141b247554e180e1aa3553d282c6", "name": "Bot123" }, - "target": { + "object": { "type": "Collection", "id": "n3xtc10ud", "name": "world" @@ -166,8 +166,8 @@ The content format follows the [Activity Streams 2.0 Vocabulary](https://www.w3. |------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | actor.id | Bot's [actor type](constants.md#actor-types-of-chat-messages) followed by the `/` slash character and a bot's unique sha1 identifier with `bot-` prefix. | | actor.name | The display name of the bot. | -| target.id | The token of the conversation from which the bot was removed. | -| target.name | The name of the conversation from which the bot was removed. | +| object.id | The token of the conversation from which the bot was removed. | +| object.name | The name of the conversation from which the bot was removed. | ## Sending a chat message