Remove todo

This commit is contained in:
Jake Barnby 2024-01-15 19:02:54 +13:00
parent f25dd32767
commit a05a5da9bb
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -265,7 +265,6 @@ class Messaging extends Action
$message->setAttribute('deliveryErrors', $deliveryErrors);
if (\count($message->getAttribute('deliveryErrors')) > 0) {
// TODO: Does this make sense? Only some of the messages might have failed, but we mark the whole message as failed.
$message->setAttribute('status', 'failed');
} else {
$message->setAttribute('status', 'sent');