Enable reply/reactions on messages with no errors array

This commit is contained in:
Scott Nonnenberg
2020-02-28 16:26:50 -08:00
committed by GitHub
parent 4d4c522c7f
commit 90fef354e4

View File

@@ -1317,7 +1317,7 @@
}
// Case 2: We can reply if there are no errors
if (errors && errors.length === 0) {
if (!errors || (errors && errors.length === 0)) {
return true;
}