fix(notify): clean verifiedNote when marking verified

This commit is contained in:
rainzm
2021-06-11 10:08:20 +08:00
parent e9f7d87688
commit 66ad8ace31
+1
View File
@@ -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,