'Returns the channel search results over the events endpoint.'

def on_search_results_channels(self, subject, changetype, objectID, results):

    query = '    '.join(results['keywords'])
    for channel in results['result_list']:
        channel_json = convert_db_channel_to_json(channel, include_rel_score=True)
        if (self.session.config.get_family_filter_enabled() and self.session.lm.category.xxx_filter.isXXX(channel_json['name'])):
            continue
        if (channel_json['dispersy_cid'] not in self.channel_cids_sent):
            self.write_data({'type': 'search_result_channel', 'event': {'query': query, 'result': channel_json}})
            self.channel_cids_sent.add(channel_json['dispersy_cid'])
