From a730f65994d0b442194f8bc588fc5a6927747ac2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 29 Aug 2025 13:47:45 -0600 Subject: [PATCH] Clarify that `m.mentions` is for the bot --- proposals/4332-in-room-bot-commands.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proposals/4332-in-room-bot-commands.md b/proposals/4332-in-room-bot-commands.md index 481c47ccd..4c7088e71 100644 --- a/proposals/4332-in-room-bot-commands.md +++ b/proposals/4332-in-room-bot-commands.md @@ -112,6 +112,8 @@ When the user sends the command, the client creates either an `m.room.message` e "m.mentions": { "user_ids": ["@bot:example.org"] // should be a single element array, containing the bot's user ID // from the `m.bot.commands` state event's `state_key` (or `sender`). + // Note: doesn't include other users which may be referenced by the + // command being sent, such as via `user_id` arguments. }, // This is a new content block so bots don't *need* to do string unpacking when