@@ -1829,11 +1834,20 @@ class Webservice_model extends CI_Model {
...
@@ -1829,11 +1834,20 @@ class Webservice_model extends CI_Model {
$result=$this->db->query("SELECT from_user,to_user,type FROM chats WHERE (from_user=$user_id OR to_user=$user_id) AND type IN('0','1')")->result_array();
$result=$this->db->query("SELECT from_user,to_user,type FROM chats WHERE (from_user=$user_id OR to_user=$user_id) AND type IN('0','1')")->result_array();