diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-04-11 16:29:17 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-04-12 13:55:59 +0200 |
| commit | ec77d7cc1b8bc1c3058c2bfdcfcccb781f338f20 (patch) | |
| tree | 7fc352238272f4ba07e40194449adbe9233b1db0 /dashboard | |
| parent | dc4aafee511399ae7135a8f8d9e4cdcd9cca8fee (diff) | |
pkg/email: expose OwnEmail flag
We anyway already extract this information, there's no sense in
extracting it again in other places.
Diffstat (limited to 'dashboard')
| -rw-r--r-- | dashboard/app/reporting_email.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/app/reporting_email.go b/dashboard/app/reporting_email.go index 8b260a3d3..67c8258e8 100644 --- a/dashboard/app/reporting_email.go +++ b/dashboard/app/reporting_email.go @@ -577,7 +577,7 @@ func processDiscussionEmail(c context.Context, msg *email.Email, source dashapi. msgType: dType, bugIDs: extIDs, inReplyTo: msg.InReplyTo, - external: ownEmail(c) != msg.Author, + external: !msg.OwnEmail, time: msg.Date, }) if err != nil { |
