From c5562b0d28c05b1e9499ff24bebdfd8037b2f82c Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 27 Oct 2023 15:23:06 +0200 Subject: dashboard: forward incoming commands emails Instead of reminding users to mention our mailing lists, forward their emails there automatically. Closes #4260. --- dashboard/app/subsystem_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dashboard/app/subsystem_test.go') diff --git a/dashboard/app/subsystem_test.go b/dashboard/app/subsystem_test.go index 3462a471f..8bb560d32 100644 --- a/dashboard/app/subsystem_test.go +++ b/dashboard/app/subsystem_test.go @@ -1005,7 +1005,7 @@ func TestRemindersPriority(t *testing.T) { defer c.Close() client := c.makeClient(clientSubsystemRemind, keySubsystemRemind, true) - mailingList := c.config().Namespaces["subsystem-reminders"].Reporting[1].Config.(*EmailConfig).Email + cc := EmailOptCC([]string{"bugs@syzkaller.com", "default@maintainers.com"}) build := testBuild(1) client.UploadBuild(build) @@ -1018,7 +1018,7 @@ func TestRemindersPriority(t *testing.T) { client.ReportCrash(aFirst) sender, firstExtID := client.pollEmailAndExtID() c.incomingEmail(sender, "#syz set prio: low\n", - EmailOptFrom("test@requester.com"), EmailOptCC([]string{mailingList})) + EmailOptFrom("test@requester.com"), cc) c.advanceTime(time.Hour) // WARNING: a second, normal prio @@ -1036,7 +1036,7 @@ func TestRemindersPriority(t *testing.T) { client.ReportCrash(aThird) sender, thirdExtID := client.pollEmailAndExtID() c.incomingEmail(sender, "#syz set prio: high\n", - EmailOptFrom("test@requester.com"), EmailOptCC([]string{mailingList})) + EmailOptFrom("test@requester.com"), cc) c.advanceTime(time.Hour) // Report bugs once more to pretend they're still valid. -- cgit mrf-deployment