diff --git a/application/models/Webservice_model.php b/application/models/Webservice_model.php
index d68f980..6dcf741 100644
--- a/application/models/Webservice_model.php
+++ b/application/models/Webservice_model.php
@@ -1877,7 +1877,7 @@ class Webservice_model extends CI_Model {
 		$result = $this->db->query("SELECT CUST.customer_id,CUST.name,CUST.phone,CUST.profile_image,
 										   CUST.profile_image_qr,CHT.type AS friend_status 
 								    FROM customer AS CUST 
-								    LEFT JOIN chats AS CHT ON ((CUST.customer_id=CHT.from_user OR CUST.customer_id=CHT.to_user) AND CHT.type=1)
+								    LEFT JOIN chats AS CHT ON ((CUST.customer_id=CHT.from_user OR CUST.customer_id=CHT.to_user) AND CHT.type IN (0,1))
 								    WHERE CUST.customer_id IN ($user_ids) AND 
 								          customer_id NOT IN 
 								          	(SELECT from_user FROM chats