openclaw/extensions
teconomix f49c6a402c fix(mattermost): deliver media attachments after successful final patch (ID=2965023940)
After a successful patchMattermostPost in the isFinal branch, the code returned
immediately without delivering any media attachments. deliverMattermostReplyPayload
is the only path that uploads/sends media, so caption+image/file/audio payloads
were silently dropping the attachment whenever streaming was active and the patch
succeeded.

Fix: after a successful patch, check whether the payload has mediaUrls/mediaUrl.
If so, call deliverMattermostReplyPayload with text=undefined to deliver only the
media through the normal attachment path.
2026-03-20 10:38:24 +00:00
..
2026-03-18 01:02:16 -07:00