Enable reply/reactions on messages with no errors array
This commit is contained in:
@@ -1317,7 +1317,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Case 2: We can reply if there are no errors
|
// Case 2: We can reply if there are no errors
|
||||||
if (errors && errors.length === 0) {
|
if (!errors || (errors && errors.length === 0)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user