send our local ip only once
This commit is contained in:
parent
f9a7a5c373
commit
6667eb5e29
|
@ -203,7 +203,6 @@ class ConnectionBytestream:
|
||||||
ostreamhost.setAttr('port', unicode(port))
|
ostreamhost.setAttr('port', unicode(port))
|
||||||
ostreamhost.setAttr('host', ft_host)
|
ostreamhost.setAttr('host', ft_host)
|
||||||
ostreamhost.setAttr('jid', sender)
|
ostreamhost.setAttr('jid', sender)
|
||||||
for thehost in self.peerhost:
|
|
||||||
try:
|
try:
|
||||||
thehost = self.peerhost[0]
|
thehost = self.peerhost[0]
|
||||||
streamhost = common.xmpp.Node(tag = 'streamhost') # My IP
|
streamhost = common.xmpp.Node(tag = 'streamhost') # My IP
|
||||||
|
|
Loading…
Reference in New Issue