~sircmpwn/lists.sr.ht

b4607e4ae14bd2dbea998a3dd26a6eaeb86c04bb — Drew DeVault 5 months ago ff57072 0.38.3
process: don't forward emails from other lists
1 files changed, 2 insertions(+), 1 deletions(-)

M listssrht/process.py
M listssrht/process.py => listssrht/process.py +2 -1
@@ 465,7 465,8 @@ def dispatch_message(address, list_id, mail):
                return
            dest.updated = datetime.utcnow()

            if dest.mirror_id:
            list_id = mail.get("List-Id")
            if dest.mirror_id or list_id:
                archived = _mirror(dest, mail)
                _webhooks(dest, archived)
                db.session.commit()