X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/675b89ddb7f3c93ced3e6e1fed2db2caca4d67e4..50cfc0a95cb5cedda0f8043f754a26afafe0a9db:/script/deliver-message diff --git a/script/deliver-message b/script/deliver-message index 28d755b24..81de3ef58 100755 --- a/script/deliver-message +++ b/script/deliver-message @@ -33,6 +33,6 @@ mail = Mail.new($stdin.read message = Message.from_mail(mail, from, to) message.save! -UserMailer.message_notification(message).deliver +UserMailer.message_notification(message).deliver if message.notify_recipient? exit 0