feat(config): 渲染默认 rich(用户要求 2026-09-14)
Config.rendering 默认 'html'→'rich';显式 'html'/'compat' 仍可强制兼容模式。 profile cordis.patch.yml 的 rendering 同步改为 rich(patch 会覆盖插件默认值, 两处都改才生效)。旧客户端显示'不支持'时用 /rich off 按聊天切回。
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ export const Config = Schema.object({
|
||||
allowAllUsers: Schema.boolean().default(false),
|
||||
maxMessageLength: Schema.number().default(4096),
|
||||
pollingTimeoutSec: Schema.number().default(30),
|
||||
rendering: Schema.string().default('html'),
|
||||
rendering: Schema.string().default('rich'),
|
||||
});
|
||||
function resolveAllowedUserIds(config) {
|
||||
if (config.allowedUserIds && config.allowedUserIds.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user