X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f5c5aacb209fd209c0b13203c0c7d0259635c671..9ab0aee030fbee67f6481dc79040fd9e99282c4f:/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