Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Steinberger
2552d4f497 fix: drop matrix allowFrom redeclare (#1176) (thanks @sibbl) 2026-01-18 13:56:36 +00:00
Sebastian Schubotz
6eb67f1bac fix(matrix): remove redundant allowFrom assignment in monitorMatrixProvider 2026-01-18 13:51:20 +00:00
2 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,7 @@ Docs: https://docs.clawd.bot
- Auth profiles: keep auto-pinned preference while allowing rotation on failover; user pins stay locked. (#1138) — thanks @cheeeee.
- macOS: avoid touching launchd in Remote over SSH so quitting the app no longer disables the remote gateway. (#1105)
- Memory: index atomically so failed reindex preserves the previous memory database. (#1151) — thanks @gumadeiras.
- Matrix: avoid redeclaring `allowFrom` in the monitor provider. (#1176) — thanks @sibbl.
## 2026.1.18-3

View File

@ -201,7 +201,6 @@ export async function monitorMatrixProvider(opts: MonitorMatrixOpts = {}): Promi
const dmEnabled = dmConfig?.enabled ?? true;
const dmPolicyRaw = dmConfig?.policy ?? "pairing";
const dmPolicy = allowlistOnly && dmPolicyRaw !== "disabled" ? "allowlist" : dmPolicyRaw;
const allowFrom = dmConfig?.allowFrom ?? [];
const textLimit = core.channel.text.resolveTextChunkLimit(cfg, "matrix");
const mediaMaxMb = opts.mediaMaxMb ?? cfg.channels?.matrix?.mediaMaxMb ?? DEFAULT_MEDIA_MAX_MB;
const mediaMaxBytes = Math.max(1, mediaMaxMb) * 1024 * 1024;