Allow filtering to alerted messages with is:alerted

(imported from commit 99834f1ee1b9b2e0f5c7427afa1494bf404e3626)
This commit is contained in:
Leo Franchi
2013-08-30 15:15:01 -04:00
parent 802ea78fb0
commit 41b286232d
5 changed files with 15 additions and 0 deletions

View File

@@ -239,6 +239,10 @@ Filter.prototype = {
if (!message.mentioned) {
return false;
}
} else if (operand === 'alerted') {
if (!message.alerted) {
return false;
}
}
break;