From 6f0290ca722fdd6445df2ca03300e98940533a2d Mon Sep 17 00:00:00 2001 From: rainzm Date: Fri, 11 Jun 2021 10:04:46 +0800 Subject: [PATCH] fix(notify): clean verifiedNote when marking verified --- pkg/notify/models/receiver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/notify/models/receiver.go b/pkg/notify/models/receiver.go index 849809b206..e68b5ba22f 100644 --- a/pkg/notify/models/receiver.go +++ b/pkg/notify/models/receiver.go @@ -371,6 +371,7 @@ func (r *SReceiver) MarkContactTypeVerified(contactType string) error { } if sc, ok := r.subContactCache[contactType]; ok { sc.Verified = tristate.True + sc.VerifiedNote = "" } else { subContact := &SSubContact{ Type: contactType,