X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be1ea6dd431cb018b669feefc62765ec48f08366..9793e4fb7f6503beab0efe1576f3e13dbf350f30:/script/deliver-message diff --git a/script/deliver-message b/script/deliver-message index 3df09f85f..85519b299 100755 --- a/script/deliver-message +++ b/script/deliver-message @@ -23,7 +23,7 @@ mail = TMail::Mail.parse(STDIN.readlines.join) message = Message.new(:sender => from, :recipient => to, :sent_on => Time.now.getutc, - :title => mail.subject, + :title => mail.subject.sub(/\[OpenStreetMap\] */, ""), :body => mail.body) message.save!