Commit ce46a2c
authored
fix: slack empty mention and workflow replies (#300)
*Issue #, if available:*
*Description of changes:*
Fix the below issues:
1. When the slack app is mentioned with an empty message, it throws
Bedrock validation error.
2. When Slack workflow mentiones the app, the reply contains an invalid
mention.
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.1 parent 06ea826 commit ce46a2c
File tree
2 files changed
+2
-4
lines changed- packages/slack-bolt-app/src
- handlers
- util
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
0 commit comments