Patch by Felix Schäfer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22159
e93f8b46-1217-0410-a6f0-
8f06a7374b81
class UnauthorizedAction < StandardError; end
class NotAllowedInProject < UnauthorizedAction; end
class InsufficientPermissions < UnauthorizedAction; end
+ class LockedTopic < UnauthorizedAction; end
class MissingInformation < StandardError; end
class MissingContainer < StandardError; end
add_attachments(reply)
reply
else
- logger&.info "MailHandler: ignoring reply from [#{email.from.first}] to a locked topic"
+ raise LockedTopic, "ignoring reply to a locked message [#{message.id} #{message.subject}]"
end
end