Primitivus: gateways: current server is now shown in title

This commit is contained in:
Goffi 2010-08-12 19:35:56 +08:00
commit cc547e5ec4

View file

@ -88,6 +88,7 @@ class XEP_0100():
self.__gateways[request_id] = {'__total_items':len(disco._items), '__handled_items':0, '__private__':{'target':target.full()}}
for item in disco._items:
#TODO: need to set a timeout for theses requests
debug (_("item found: %s"), item.name)
client.disco.requestInfo(item.entity).addCallback(self.discoInfo, entity=item.entity, request_id=request_id).addErrback(self.discoInfoErr, entity=item.entity, request_id=request_id)