From 852d98e8ddf5a5a73d4b0a36bb2a6134b92fd56e Mon Sep 17 00:00:00 2001 From: damocles Date: Sat, 7 Nov 2026 13:28:06 +0100 Subject: [PATCH] docs: the daemon auto-joins invites from the own homeserver --- docs/4-implementation/agent-tools/matrix.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/4-implementation/agent-tools/matrix.md b/docs/4-implementation/agent-tools/matrix.md index 76164de8..0cb376b2 100644 --- a/docs/4-implementation/agent-tools/matrix.md +++ b/docs/4-implementation/agent-tools/matrix.md @@ -35,7 +35,11 @@ is what an agent reads at call time. They fall into four groups: `join_room`. `resolve_invite` accepts or rejects a pending invite and is the path for invites; `join_room` is for a public room the agent wasn't invited to. `list_invites` gives the inviter and the topic, so an agent can judge an - invite before it answers. + invite before it answers. The daemon joins an invite from a user of the + agent's own homeserver by itself, with an info log line and no todo. An invite + from any other homeserver stays a todo that names the inviter as an external + matrix user, and the agent decides. If an automatic join fails, the invite + falls back to a todo too. - **Receipts:** `mark_read` advances the read receipt. **DM recipient check.** `send_dm` and `open_dm` report where the other user