feat(matrix): per-room group policy overrides (groupPolicyOverrides) (#6287)
This commit is contained in:
1 parent
c5cee9f204
commit
8a989d5adf
14 files changed
+210
-3
No files matched your search
@@ -376,6 +376,7 @@ nanobot plugins enable matrix
|
||||
"allowFrom": ["@your_user:matrix.org"],
|
||||
"groupPolicy": "open",
|
||||
"groupAllowFrom": [],
|
||||
"groupPolicyOverrides": {},
|
||||
"allowRoomMentions": false,
|
||||
"maxMediaBytes": 20971520
|
||||
}
|
||||
@@ -390,6 +391,7 @@ nanobot plugins enable matrix
|
||||
| `allowFrom` | User IDs allowed to interact. Empty denies all; use `["*"]` to allow everyone. |
|
||||
| `groupPolicy` | `open` (default), `mention`, `allowlist`, or `listen`. |
|
||||
| `groupAllowFrom` | Room allowlist (used when policy is `allowlist`). |
|
||||
| `groupPolicyOverrides` | Optional per-room overrides for `groupPolicy`, keyed by Matrix room ID (for example, `"!abc123:matrix.org"`). Values mirror `groupPolicy`: `"open"`, `"mention"`, or `"allowlist"` (an `allowlist` override is checked against `groupAllowFrom`). Rooms not listed fall back to `groupPolicy`. |
|
||||
| `allowRoomMentions` | Accept `@room` mentions in mention mode. |
|
||||
| `replyToMessage` | Quote the user's message in non-threaded replies (default `true`). Set `false` to send without quotes; thread replies are unchanged. |
|
||||
| `e2eeEnabled` | E2EE support (default `true`). Set `false` for plaintext-only. |
|
||||
|
||||
Reference in new issue
Block a user