Part of canonical.launchpad.mail.handlers View In Hierarchy
Implements interfaces: canonical.launchpad.interfaces.mail.IMailHandler
Method | process | See IMailHandler. |
Method | processOwnerMessage | Choose the right workflow action for a message coming from |
Method | processUserMessage | Choose the right workflow action for a message coming from a user |
When the question status is OPEN or NEEDINFO, the message is a GIVEINFO action; when the status is ANSWERED or EXPIRED, we interpret the message as a reopenening request; otherwise it's a comment.
When the question status is OPEN, NEEDSINFO, or ANSWERED, we interpret the message as containing an answer. (If it was really a request for more information, the owner will still be able to answer it while reopening the request.)
In the other status, the message is a comment without status change.