fix(ringcentral): change dmPolicy default to allowlist
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
parent
7e57e324d1
commit
fac7419ca0
@ -77,7 +77,7 @@ export RINGCENTRAL_JWT="your-jwt-token"
|
||||
| `selfOnly` | boolean | `true` | Only respond to JWT user in Personal chat |
|
||||
| `name` | string | - | Bot display name |
|
||||
| `textChunkLimit` | number | `4000` | Maximum characters per message chunk |
|
||||
| `dmPolicy` | string | `"pairing"` | DM policy (only when `selfOnly: false`) |
|
||||
| `dmPolicy` | string | `"allowlist"` | DM policy (only when `selfOnly: false`) |
|
||||
| `groupPolicy` | string | `"allowlist"` | Group policy (only when `selfOnly: false`) |
|
||||
|
||||
> **Note:** When `selfOnly: true` (default), the bot only responds to the JWT user in their Personal chat. All other policy settings (`dmPolicy`, `allowFrom`, `groupPolicy`, etc.) are ignored.
|
||||
|
||||
@ -30,7 +30,7 @@ const RingCentralAccountSchemaBase = z
|
||||
webhookPath: z.string().optional(),
|
||||
webhookVerificationToken: z.string().optional(),
|
||||
markdown: MarkdownConfigSchema,
|
||||
dmPolicy: DmPolicySchema.optional().default("pairing"),
|
||||
dmPolicy: DmPolicySchema.optional().default("allowlist"),
|
||||
allowFrom: z.array(z.union([z.string(), z.number()])).optional(),
|
||||
groupPolicy: GroupPolicySchema.optional().default("allowlist"),
|
||||
groupAllowFrom: z.array(z.union([z.string(), z.number()])).optional(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user