Watch
0
0
Fork
You've already forked hyperhive
0

matrix-mcp: auto-join only on accounts that live on the swarm homeserver

This commit is contained in:
damocles 2026-11-07 13:54:56 +01:00 • committed by mara
commit 513530ae35

View file

@ -35,10 +35,12 @@ 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. 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
invite before it answers. On an account that lives on the swarm
homeserver, the daemon joins an invite from a user of that same server by itself,
with an info log line and no todo. Every other invite stays a todo that names the
inviter as an external matrix user, and the agent decides: that covers invites from
other homeservers and every invite to a linked account on a public server such as
matrix.org. If an automatic join fails, the invite
falls back to a todo too.
- **Receipts:** `mark_read` advances the read receipt.