def __init__(self, config): log("master: jid:%s" % (config.component, )) self.running = True self.connection = CONNECTION.idle self.config = config self.regdb = DatabaseAPI() Component.__init__( self, JID(config.component), config.secret, config.server, int(config.port), disco_name="Vipadia Ltd Skype Gateway", disco_type="skype", disco_category="gateway", ) self.disco_info.add_feature('http://jabber.org/protocol/disco#info') self.disco_info.add_feature('jabber:iq:register') self.disco_info.add_feature('jabber:iq:time') self.disco_info.add_feature('jabber:iq:version') self.disco_info.add_feature('http://jabber.org/protocol/rosterx')