Skip to content

Commit

Permalink
Recognize messages with a file_share
Browse files Browse the repository at this point in the history
  • Loading branch information
parsley42 committed Aug 11, 2023
1 parent dc59cc8 commit f81c006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/slack/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (s *slackConnector) processText(text string) string {

func validSubtype(st string) bool {
switch st {
case "bot_message", "message_replied":
case "bot_message", "message_replied", "file_share":
return true
default:
return false
Expand Down

0 comments on commit f81c006

Please sign in to comment.