'Set the disco#info data for a JID/node based on an existing
disco#info stanza.'

def set_info(self, jid=None, node=None, info=None):

    if isinstance(info, Iq):
        info = info['disco_info']
    self.api['set_info'](jid, node, None, info)
