Vote #69231
完了Extensible MailHandler
0%
説明
app/models/mail_handler is useful but not extensibly from plugins. I think it would be useful if MailHandler were extensible by making a subclass based on it.
I wrote the attached patch. This introduces MailHandler#dispatch_to_default which just calls receive_issue by default. Plugin can extend the dispatch table by overriding #dispatch_to_default.
journals
If it makes plugin development easier, let's go. Don't hesitate to tell us if you have ideas about a real API (don't know if it's really needed though).
Applied in r4820, thanks.
--------------------------------------------------------------------------------
Merged in 1.1-stable.
--------------------------------------------------------------------------------
SPAM
--------------------------------------------------------------------------------