]> git.openstreetmap.org Git - rails.git/commitdiff
Fix call to UserMailer in message delivery
authorAndy Allan <git@gravitystorm.co.uk>
Tue, 20 Oct 2020 11:58:08 +0000 (13:58 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Tue, 20 Oct 2020 11:58:08 +0000 (13:58 +0200)
Fixes #2895

script/deliver-message

index 6907637a67d532623482883f1bb5c93fbf836e0d..0479695328f396c5569020eff911539436c24230 100755 (executable)
@@ -33,6 +33,6 @@ mail = Mail.new($stdin.read
 message = Message.from_mail(mail, from, to)
 message.save!
 
-Notifier.message_notification(message).deliver
+UserMailer.message_notification(message).deliver
 
 exit 0