summaryrefslogtreecommitdiffstats
path: root/matterclient/matterclient.go
diff options
context:
space:
mode:
Diffstat (limited to 'matterclient/matterclient.go')
-rw-r--r--matterclient/matterclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index 732c9e30..9dcf96c2 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -281,7 +281,7 @@ func (m *MMClient) WsReceiver() {
}
// if we have file attached but the message is empty, also send it
if msg.Post != nil {
- if msg.Text != "" || len(msg.Post.FileIds) > 0 {
+ if msg.Text != "" || len(msg.Post.FileIds) > 0 || msg.Post.Type == "slack_attachment" {
m.MessageChan <- msg
}
}