X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/71cb84bbe244d0ef471a385b02f1f432bc17b606..1ff7b6217ae596cc2a3b74500ac99e710546a54b:/script/deliver-message?ds=sidebyside 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