From c93528e1b323d65a2fcfd4b3b9477aed5e557ca3 Mon Sep 17 00:00:00 2001 From: Tanmay Sharma Date: Tue, 22 Jul 2025 16:18:02 +0400 Subject: [PATCH] add the filter to use is_verified check --- app/models/contact.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/contact.rb b/app/models/contact.rb index a349c948d..5e69f26f1 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -179,7 +179,7 @@ class Contact < ApplicationRecord end def self.resolved_contacts - where("contacts.email <> '' OR contacts.phone_number <> '' OR contacts.identifier <> ''") + where(is_verified: true) end def discard_invalid_attrs