OpenClaw — Microsoft Teams Media-Limit Fix
Found and fixed a Teams adapter bug so its configured inbound media limit takes precedence over the agent default, with regression tests for both paths.
Outcomes
- Teams now honors its channel-specific inbound media limit when configured
- Falls back to the agent default when no Teams override exists
- Added lifecycle regression coverage for the override and fallback paths
The issue
While working on Quiver's Teams attachment intake, I found that the OpenClaw Teams adapter did not respect the channel's configured inbound media limit. This mattered for a workflow that needs to receive source documents without applying the wrong size boundary.
The contribution
I traced the configuration path and made the adapter prefer the Teams-specific limit. If Teams has no override, it falls back to the agent default. I added regression tests for both cases in upstream commit c1243671.
This is a focused contribution to OpenClaw, not authorship of the upstream runtime. Quiver uses OpenClaw; the reusable fix belongs in the runtime itself.