dm/email
email
@ -52,3 +52,12 @@ func (e Email) Send(to mail.Address, msg string) error {
}
return err
type mockMail struct {
msg string
func (m *mockMail) Send(to mail.Address, msg string) error {
m.msg = msg
return nil
The note is not visible to the blocked user.