Files
hermes-agent/plugins
Maximilian Kindshofer 825fdb7984 fix(mattermost): pass empty media lists so text posts pass native admission
The Mattermost adapter built inbound events with `media_urls or None` /
`media_types or None`, so every post without an attachment carried None.
Native admission (`_validate_native` in gateway/session_envelope.py)
requires both fields to be lists, as MessageEvent declares them, and
refused every plain text post with `invalid_params`. Commands bypass
admission, so /reset still worked while normal messages failed.

Pass the lists `_download_attachments` already returns. Mattermost was the
only adapter with this pattern.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit c0f32ce5a5c0d633bf4e73a0581ad18b07ee4171)
2026-10-15 16:33:59 -04:00
..
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:54:07 +02:00