Browse Source

Merge branch 'tapir-peer' of cwtch.im/cwtch into master

pull/266/head
Dan Ballard Gogs 8 months ago
parent
commit
5aaa228691
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      protocol/connections/engine.go

+ 4
- 0
protocol/connections/engine.go View File

@@ -125,6 +125,10 @@ func (e *engine) eventHandler() {
if connection != nil && err == nil {
connection.Close()
}
// Explicitly send a disconnected event (if we don't do this here then the UI can wait for a while before
// an ongoing Open() connection fails and so the user will see a blocked peer as still connecting (because
// there isn't an active connection and we are stuck waiting for tor to time out)
e.peerDisconnected(ev.Data[event.RemotePeer])
case event.ProtocolEngineStartListen:
go e.listenFn()
default:


Loading…
Cancel
Save