~sircmpwn/todo.sr.ht

533ca5c4d560351226a16f27ad399082826fc31d — Drew DeVault 4 months ago f40fbb7 0.64.8
todosrht-lmtp: fix error reason selection
2 files changed, 2 insertions(+), 1 deletions(-)

M api/go.sum
M todosrht-lmtp
M api/go.sum => api/go.sum +1 -0
@@ 19,6 19,7 @@ git.sr.ht/~sircmpwn/git.sr.ht/api v0.0.0-20201204130708-8d5810145695 h1:Fkns18TU
git.sr.ht/~sircmpwn/git.sr.ht/api v0.0.0-20201204130708-8d5810145695/go.mod h1:cYrAoE7s15WVAPRGjnoGCv0lfWr8EAja8JoIy3DZrMo=
git.sr.ht/~sircmpwn/go-bare v0.0.0-20200812160916-d2c72e1a5018 h1:89QMorzx6ML69PKPoayL3HuSfb7WqAlxD1dZ7DyzD0k=
git.sr.ht/~sircmpwn/go-bare v0.0.0-20200812160916-d2c72e1a5018/go.mod h1:BVJwbDfVjCjoFiKrhkei6NdGcZYpkDkdyCdg1ukytRA=
git.sr.ht/~sircmpwn/go-bare v0.0.0-20210227202403-5dae5c48f917 h1:/pfEvB399XDXksu4vyjfNTytWn/nbbKiNhvjtpgc4pY=
git.sr.ht/~sircmpwn/go-bare v0.0.0-20210227202403-5dae5c48f917/go.mod h1:BVJwbDfVjCjoFiKrhkei6NdGcZYpkDkdyCdg1ukytRA=
git.sr.ht/~sircmpwn/gql.sr.ht v0.0.0-20200519155752-5492494ccefa/go.mod h1:V38DHc2+k1GmbNT4pE6OH/2fOXYcZHn9o/PUAEXH1P0=
git.sr.ht/~sircmpwn/gqlgen v0.0.0-20200522192042-c84d29a1c940 h1:6KPRYYCPv1NgZHfhu1qNf70sAvWXWl9bUIirYnJ389c=

M todosrht-lmtp => todosrht-lmtp +1 -1
@@ 154,7 154,7 @@ class MailHandler:

        if not valid.ok:
            print("Rejecting email due to validation errors")
            return "550 " + ", ".join([e["reason"] for e in valid.errors])
            return "550 " + ", ".join([e.message for e in valid.errors])

        ticket = submit_ticket(tracker, sender, title, desc,
                from_email=True, from_email_id=mail["Message-ID"])