l.a.m.h.AnswerTrackerHandler : class documentation

Part of lp.answers.mail.handler View In Hierarchy

Handles emails sent to the Answer Tracker.
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
def process(self, signed_msg, to_addr, filealias=None, log=None):
See IMailHandler.
def processOwnerMessage(self, question, message):
Choose the right workflow action for a message coming from the question owner.

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.

def processUserMessage(self, question, message):
Choose the right workflow action for a message coming from a user that is not the question owner.

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.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.