diff --git a/extensions/mattermost/src/config-schema-core.ts b/extensions/mattermost/src/config-schema-core.ts index 9bb9dc1be51..b7d726278e0 100644 --- a/extensions/mattermost/src/config-schema-core.ts +++ b/extensions/mattermost/src/config-schema-core.ts @@ -12,10 +12,6 @@ const MattermostGroupSchema = z .object({ /** Whether mentions are required to trigger the bot in this group. */ requireMention: z.boolean().optional(), - /** Whether the bot is enabled in this group. */ - enabled: z.boolean().optional(), - /** Allowlist of sender IDs permitted to interact in this group. */ - allowFrom: z.array(z.union([z.string(), z.number()])).optional(), }) .strict(); diff --git a/extensions/mattermost/src/config-schema.ts b/extensions/mattermost/src/config-schema.ts index 191791f0b38..2e0cd0b3267 100644 --- a/extensions/mattermost/src/config-schema.ts +++ b/extensions/mattermost/src/config-schema.ts @@ -12,10 +12,6 @@ const MattermostGroupSchema = z .object({ /** Whether mentions are required to trigger the bot in this group. */ requireMention: z.boolean().optional(), - /** Whether the bot is enabled in this group. */ - enabled: z.boolean().optional(), - /** Allowlist of sender IDs permitted to interact in this group. */ - allowFrom: z.array(z.union([z.string(), z.number()])).optional(), }) .strict();