'Add a feature to a JID/node combination.
The data parameter should include:
feature -- The namespace of the supported feature.'

def add_feature(self, jid, node, ifrom, data):

    with self.lock:
        self.add_node(jid, node)
        self.get_node(jid, node)['info'].add_feature(data.get('feature', ''))
