fix(tlon): expose group invite allowlist

This commit is contained in:
Vincent Koc
2026-05-03 15:08:09 -07:00
parent 41df8191c5
commit d57b16ff81
6 changed files with 36 additions and 4 deletions

View File

@@ -190,18 +190,22 @@ Auto-accept DM invites (for ships in dmAllowlist):
}
```
Auto-accept group invites:
Auto-accept group invites from trusted ships:
```json5
{
channels: {
tlon: {
autoAcceptGroupInvites: true,
groupInviteAllowlist: ["~zod"],
},
},
}
```
`autoAcceptGroupInvites` fails closed when `groupInviteAllowlist` is empty. Set the
allowlist to the ships whose group invites should be accepted automatically.
## Delivery targets (CLI/cron)
Use these with `openclaw message send` or cron delivery:
@@ -268,7 +272,8 @@ Provider options:
- `channels.tlon.ownerShip`: owner ship for approval system (always authorized).
- `channels.tlon.dmAllowlist`: ships allowed to DM (empty = none).
- `channels.tlon.autoAcceptDmInvites`: auto-accept DMs from allowlisted ships.
- `channels.tlon.autoAcceptGroupInvites`: auto-accept all group invites.
- `channels.tlon.autoAcceptGroupInvites`: auto-accept group invites from allowlisted ships.
- `channels.tlon.groupInviteAllowlist`: ships whose group invites may be auto-accepted.
- `channels.tlon.autoDiscoverChannels`: auto-discover group channels (default: true).
- `channels.tlon.groupChannels`: manually pinned channel nests.
- `channels.tlon.defaultAuthorizedShips`: ships authorized for all channels.