diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-07-09 16:40:02 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-07-10 08:52:48 +0000 |
| commit | 035a02968dc78ddb1df64971fd1c690d3c7684ed (patch) | |
| tree | 235533dbba38b17302e43629cc1a56b89929989b /pkg | |
| parent | 33ffce52a3b573ac252d419c0ff3c956028650ad (diff) | |
dashboard: prefix forwarded email subjects
This will allow us to easily identify them.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/email/parser.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/email/parser.go b/pkg/email/parser.go index 9e629ad05..63f758bd2 100644 --- a/pkg/email/parser.go +++ b/pkg/email/parser.go @@ -60,6 +60,8 @@ const ( cmdTest5 ) +const ForwardedPrefix = "Forwarded: " + var groupsLinkRe = regexp.MustCompile(`(?m)\nTo view this discussion (?:on the web )?visit` + ` (https://groups\.google\.com/.*?)\.(:?$|\n|\r)`) |
