From 9029e98c2f61d023b8cac2a0b21bcc57b0ecd36f Mon Sep 17 00:00:00 2001 From: rainzm Date: Thu, 3 Sep 2020 11:21:34 +0800 Subject: [PATCH] fix(notify): Mark verified not enabled in MarkContactTypeVerified --- pkg/notify/models/receiver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/notify/models/receiver.go b/pkg/notify/models/receiver.go index db16483343..1723c5d0cb 100644 --- a/pkg/notify/models/receiver.go +++ b/pkg/notify/models/receiver.go @@ -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