def start_listening():
    if email_received:
        logger.debug("Sendgrid start listening")
        email_received.connect(signal_received_email, dispatch_uid="thm_reply")

    from .utils import invalidate_count_cache
    message_composed.connect(invalidate_count_cache, dispatch_uid="thm_composed")
示例#2
0
def start_listening():
    if email_received:
        logger.debug("Sendgrid start listening")
        email_received.connect(signal_received_email, dispatch_uid="thm_reply")

    from .utils import invalidate_count_cache
    message_composed.connect(invalidate_count_cache,
                             dispatch_uid="thm_composed")
示例#3
0
def start_listening():
    if email_received:
        logger.debug("Sendgrid start listening")
        email_received.connect(signal_received_email, dispatch_uid="thm_reply")
def start_listening():
    if email_received:
        logger.debug("Sendgrid start listening")
        email_received.connect(signal_received_email, dispatch_uid="thm_reply")