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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}