fix(notify): Mark verified not enabled in MarkContactTypeVerified

This commit is contained in:
rainzm
2020-09-03 15:08:13 +08:00
parent 8a80f96d62
commit 9029e98c2f
+1 -1
View File
@@ -364,7 +364,7 @@ func (r *SReceiver) MarkContactTypeVerified(contactType string) error {
subContact := &SSubContact{
Type: contactType,
ReceiverID: r.Id,
Enabled: tristate.True,
Verified: tristate.True,
}
subContact.ParentContactType = api.MOBILE
r.subContactCache[contactType] = subContact