protected function duplicateCheck($data, $options = array()) { if (isset($data['msgtype']) and ($data['msgtype'] == 'notification' or $data['msgtype'] == 'request')) { return false; } return parent::duplicateCheck($data, $options); }