Compare commits
2 Commits
main
...
fix-matrix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2552d4f497 | ||
|
|
6eb67f1bac |
@ -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.
|
- 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)
|
- 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.
|
- 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
|
## 2026.1.18-3
|
||||||
|
|
||||||
|
|||||||
@ -201,7 +201,6 @@ export async function monitorMatrixProvider(opts: MonitorMatrixOpts = {}): Promi
|
|||||||
const dmEnabled = dmConfig?.enabled ?? true;
|
const dmEnabled = dmConfig?.enabled ?? true;
|
||||||
const dmPolicyRaw = dmConfig?.policy ?? "pairing";
|
const dmPolicyRaw = dmConfig?.policy ?? "pairing";
|
||||||
const dmPolicy = allowlistOnly && dmPolicyRaw !== "disabled" ? "allowlist" : dmPolicyRaw;
|
const dmPolicy = allowlistOnly && dmPolicyRaw !== "disabled" ? "allowlist" : dmPolicyRaw;
|
||||||
const allowFrom = dmConfig?.allowFrom ?? [];
|
|
||||||
const textLimit = core.channel.text.resolveTextChunkLimit(cfg, "matrix");
|
const textLimit = core.channel.text.resolveTextChunkLimit(cfg, "matrix");
|
||||||
const mediaMaxMb = opts.mediaMaxMb ?? cfg.channels?.matrix?.mediaMaxMb ?? DEFAULT_MEDIA_MAX_MB;
|
const mediaMaxMb = opts.mediaMaxMb ?? cfg.channels?.matrix?.mediaMaxMb ?? DEFAULT_MEDIA_MAX_MB;
|
||||||
const mediaMaxBytes = Math.max(1, mediaMaxMb) * 1024 * 1024;
|
const mediaMaxBytes = Math.max(1, mediaMaxMb) * 1024 * 1024;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user