mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-08 23:33:57 +00:00
Summary: - The PR replaces Mattermost draft preview raw UTF-16 slicing with the existing SDK `sliceUtf16Safe` helper and adds a regression test for an emoji that straddles the preview limit. - PR surface: Source +1, Tests +26. Total +27 across 2 files. - Reproducibility: yes. Source inspection shows current main raw-slices at `maxChars - 3`; driving `createMatt ... at UTF-16 indices 8-9 reaches the lone-surrogate path, though I did not run tests in this read-only sweep. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(mattermost): truncate draft previews on code-point boundaries Validation: - ClawSweeper review passed for head86d0dd2a06. - Required merge gates passed before the squash merge. Prepared head SHA:86d0dd2a06Review: https://github.com/openclaw/openclaw/pull/97472#issuecomment-4825788514 Co-authored-by: ly-wang19 <ly-wang19@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman
Mattermost OpenClaw channel
Official OpenClaw channel plugin for Mattermost.
Install
openclaw plugins install @openclaw/mattermost
Docs
See docs/channels/mattermost.md in the OpenClaw repository, or the published docs at https://docs.openclaw.ai/channels/mattermost.