mirror of https://github.com/zlatinb/muwire
learn about new hosts from incoming connections too
parent
881d755dd3
commit
da007795fb
|
@ -55,7 +55,7 @@ class HostCache extends Service {
|
|||
}
|
||||
|
||||
void onConnectionEvent(ConnectionEvent e) {
|
||||
if (e.incoming || e.leaf)
|
||||
if (e.leaf)
|
||||
return
|
||||
Destination dest = e.endpoint.destination
|
||||
Host host = hosts.get(dest)
|
||||
|
|
Loading…
Reference in New Issue