Don't apply multiple automod rules to the same message
This commit is contained in:
parent
cec2c74eaa
commit
682d8e9153
1 changed files with 1 additions and 0 deletions
|
@ -1311,6 +1311,7 @@ export class AutomodPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
const matchResult = await this.matchRuleToMessage(rule, msg);
|
||||
if (matchResult) {
|
||||
await this.applyActionsOnMatch(rule, matchResult);
|
||||
break; // Don't apply multiple rules to the same message
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue