Merge pull request #3631 from zeroclaw-labs/work-issues/3486-fix-matrix-image-marker

fix(channels): use canonical IMAGE marker in Matrix channel
This commit is contained in:
SimianAstronaut7 2026-03-15 15:34:31 -04:00 committed by GitHub
commit f175261e32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -746,7 +746,7 @@ impl Channel for MatrixChannel {
MessageType::Notice(content) => (content.body.clone(), None),
MessageType::Image(content) => {
let dl = media_info(&content.source, &content.body);
(format!("[image: {}]", content.body), dl)
(format!("[IMAGE:{}]", content.body), dl)
}
MessageType::File(content) => {
let dl = media_info(&content.source, &content.body);