Merge pull request #11380 from rainzm/notify/verified

fix(notify): clean verifiedNote when marking verified
This commit is contained in:
Zexi Li
2021-06-11 17:48:55 +08:00
committed by GitHub
+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,