@pipedream/slack 0.4.13 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
...common,
|
|
6
6
|
key: "slack-new-mention",
|
|
7
7
|
name: "New Mention (Instant)",
|
|
8
|
-
version: "1.0.
|
|
8
|
+
version: "1.0.9",
|
|
9
9
|
description: "Emit new event when a username or specific keyword is mentioned in a channel",
|
|
10
10
|
type: "source",
|
|
11
11
|
dedupe: "unique",
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
117
117
|
// Due to inconsistencies with the shape of message_changed and message_deleted
|
|
118
118
|
// events, we are ignoring them for now. If you want to handle these types of
|
|
119
119
|
// events, feel free to change this code!!
|
|
120
|
-
if (!constants.ALLOWED_SUBTYPES.includes(subtype)) {
|
|
120
|
+
if (subtype && !constants.ALLOWED_SUBTYPES.includes(subtype)) {
|
|
121
121
|
console.log(`Ignoring message with subtype. "${subtype}"`);
|
|
122
122
|
return;
|
|
123
123
|
}
|