mirror of https://github.com/zlatinb/muwire
ignore incoming connection events
parent
7ba5bf61c5
commit
b3dd89dbe5
|
@ -55,6 +55,8 @@ class HostCache extends Service {
|
|||
}
|
||||
|
||||
void onConnectionEvent(ConnectionEvent e) {
|
||||
if (e.incoming)
|
||||
return
|
||||
Destination dest = e.endpoint.destination
|
||||
Host host = hosts.get(dest)
|
||||
if (host == null) {
|
||||
|
|
Loading…
Reference in New Issue