Summary
Webapp/ Desktop App does not visualize Message Body, if type is slack_attachment
Steps to reproduce
We are currently using slack compatibility feature for web hooks coming from our monitoring system. Since the update to version 10.5.7, we experiencing, that the web hook message is shown in the chat, however the body is not shown.
The problem only occurs in the Desktop versions or in the browser. The mobile IOS app is showing it without any problems:
I debugged the responses of the calls in the browser and I see the full body in the response:
{ "id": "tq8tddmjzidcixu7x98nkotpqo", "reply_count": 4, "last_reply_at": 1752477414411, "last_viewed_at": 1752478771289, "participants": [ { "id": "5k4hahi99in8xbq3ehc1grxpqe", "create_at": 1528884693513, "update_at": 1751379151013, "delete_at": 0, "username": "dpailer", "auth_data": "", "auth_service": "", "email": "novatec.pailer@extaccount.com", "nickname": "", "first_name": "Dirk", "last_name": "Pailer", "position": "Dev @Xentry-Core-Team", "roles": "system_user", "props": { "customStatus": "{\"emoji\":\"palm_tree\",\"text\":\"On a vacation\",\"duration\":\"date_and_time\",\"expires_at\":\"2025-06-22T16:00:00Z\"}", "last_search_pointer": "4" }, "last_picture_update": 1751379151013, "locale": "en", "timezone": { "automaticTimezone": "Europe/Berlin", "manualTimezone": "", "useAutomaticTimezone": "true" }, "disable_welcome_email": false }, { "id": "omnr6z9thjnxtkei31n8pofs9y", "create_at": 1570624526854, "update_at": 1751877225394, "delete_at": 0, "username": "tangers", "auth_data": "", "auth_service": "", "email": "novatec.angerstein@extaccount.com", "nickname": "", "first_name": "Tobias", "last_name": "Angerstein", "position": "Monitoring & Logging @ Xentry Core", "roles": "system_user", "props": { "customStatus": "{\"emoji\":\"party\",\"text\":\"Available\",\"duration\":\"today\",\"expires_at\":\"2025-07-07T22:00:00Z\"}", "last_search_pointer": "0" }, "last_picture_update": 1659006710363, "locale": "en", "timezone": { "automaticTimezone": "Europe/Berlin", "manualTimezone": "", "useAutomaticTimezone": "true" }, "disable_welcome_email": false } ], "post": { "id": "tq8tddmjzidcixu7x98nkotpqo", "create_at": 1752476142152, "update_at": 1752477414411, "edit_at": 0, "delete_at": 0, "is_pinned": false, "user_id": "w8ijrrwhbbyeudfbc4ydo3zdar", "channel_id": "qukcdu38ainotmguqajuwjbc6c", "root_id": "", "original_id": "", "message": "", "type": "slack_attachment", "props": { "attachments": [ { "actions": [ { "id": "dsjadijqqpydjko5m5k9zp5dcr", "type": "button" } ], "author_icon": "", "author_link": "", "author_name": "", "color": "good", "fallback": "Alert Channel test: It works!\u003Chttps://www.instana.com/docs/ecosystem/slack/|Open in Instana\u003E", "fields": [ { "short": true, "title": "Severity", "value": "Info" }, { "short": true, "title": "Manual Close Username", "value": "test-username" }, { "short": true, "title": "Manual Close Timestamp", "value": "1752476142128" }, { "short": true, "title": "Manual Close Reason", "value": "test-reason" } ], "footer": "", "footer_icon": "", "id": 0, "image_url": "", "pretext": "Alert Channel test", "text": "It works!", "thumb_url": "", "title": "Alert Channel test", "title_link": "https://www.instana.com/docs/ecosystem/slack/", "ts": null } ], "from_webhook": "true", "override_icon_url": "https://avatars3.githubusercontent.com/u/5128994?s=280&v=4", "override_username": "Instana", "webhook_display_name": "XENTRY-Cloud-Events - Core" }, "hashtags": "", "file_ids": [], "pending_post_id": "", "has_reactions": true, "reply_count": 0, "last_reply_at": 0, "participants": null }, "unread_replies": 0, "unread_mentions": 0, "is_urgent": false, "delete_at": 0 }
However it seems like all messages of type slack_attachment are not properly visualized anymore.
Expected behavior
Proper visualization of message button in the Desktop App/ WebApp, similar to the mobile IOS App.
Observed behavior
The message body is not shown:
I already created a GitHub issu for it: [Bug]: Webapp/ Desktop App does not visualize Message Body, if type is slack_attachment · Issue #33410 · mattermost/mattermost · GitHub

