can browse EVERY hostname ;p
This commit is contained in:
parent
d285fdf44d
commit
8dab95f07a
|
@ -772,9 +772,10 @@ class GajimCore:
|
||||||
groups=ev[2][2])
|
groups=ev[2][2])
|
||||||
#('REQ_AGENTS', account, ())
|
#('REQ_AGENTS', account, ())
|
||||||
elif ev[0] == 'REQ_AGENTS':
|
elif ev[0] == 'REQ_AGENTS':
|
||||||
|
config = self.cfgParser.__getattr__(ev[1])
|
||||||
#do we need that ?
|
#do we need that ?
|
||||||
#con.discoverInfo('jabber.lagaule.org')
|
#con.discoverInfo(config['hostname'])
|
||||||
agents = con.discoverItems('jabber.lagaule.org')
|
agents = con.discoverItems(config['hostname'])
|
||||||
self.hub.sendPlugin('AGENTS', ev[1], agents)
|
self.hub.sendPlugin('AGENTS', ev[1], agents)
|
||||||
for agent in agents:
|
for agent in agents:
|
||||||
self.request_infos(ev[1], con, agent['jid'])
|
self.request_infos(ev[1], con, agent['jid'])
|
||||||
|
|
Loading…
Reference in New Issue