openclaw/extensions
teconomix 6bea6df33f fix(mattermost): keep text+media together; avoid split captioned posts (ID=2965096969)
Patching preview text then delivering media separately splits a captioned-file
reply into two posts: a text-only preview + captionless file attachment.

New logic in the isFinal branch:
- Text-only payload: patch in place as before (no change for common case)
- Media payload: skip the patch, reset state, deliver full payload via
  deliverMattermostReplyPayload (text+media together), then delete preview.
- Patch failure: same fallback as media payload — full delivery + delete.
2026-03-20 11:15:46 +00:00
..
2026-03-18 01:02:16 -07:00